{"action":"created","issue":{"url":"https://api.github.com/repos/wardbell/bardjs/issues/15","labels_url":"https://api.github.com/repos/wardbell/bardjs/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/wardbell/bardjs/issues/15/comments","events_url":"https://api.github.com/repos/wardbell/bardjs/issues/15/events","html_url":"https://github.com/wardbell/bardjs/issues/15","id":98949002,"number":15,"title":"fakeStateProvider ","user":{"login":"zuzana","id":2536856,"avatar_url":"https://avatars.githubusercontent.com/u/2536856?v=3","gravatar_id":"","url":"https://api.github.com/users/zuzana","html_url":"https://github.com/zuzana","followers_url":"https://api.github.com/users/zuzana/followers","following_url":"https://api.github.com/users/zuzana/following{/other_user}","gists_url":"https://api.github.com/users/zuzana/gists{/gist_id}","starred_url":"https://api.github.com/users/zuzana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuzana/subscriptions","organizations_url":"https://api.github.com/users/zuzana/orgs","repos_url":"https://api.github.com/users/zuzana/repos","events_url":"https://api.github.com/users/zuzana/events{/privacy}","received_events_url":"https://api.github.com/users/zuzana/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-04T11:43:02Z","updated_at":"2015-12-13T13:17:45Z","closed_at":"2015-08-10T14:45:06Z","body":"I wonder about following piece of code in `fakeStateProvider`\r\nhttps://github.com/wardbell/bardjs/blob/master/dist/bard.js#L404-L407 \r\n\r\n    // current: {},  // fake before each test as needed\r\n    // state:  {}  // fake before each test as needed\r\n    // more? You'll know when it fails :-)\r\n    _faked: 'this is the faked $state service'\r\n\r\nHow would I go about it, if I wanted e.g. fake state, current or sth. else. In my case I have `get` method that I'd like to fake (sinon.stub). \r\n\r\nThanks.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wardbell/bardjs/issues/comments/164256168","html_url":"https://github.com/wardbell/bardjs/issues/15#issuecomment-164256168","issue_url":"https://api.github.com/repos/wardbell/bardjs/issues/15","id":164256168,"user":{"login":"johnpapa","id":1202528,"avatar_url":"https://avatars.githubusercontent.com/u/1202528?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpapa","html_url":"https://github.com/johnpapa","followers_url":"https://api.github.com/users/johnpapa/followers","following_url":"https://api.github.com/users/johnpapa/following{/other_user}","gists_url":"https://api.github.com/users/johnpapa/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpapa/subscriptions","organizations_url":"https://api.github.com/users/johnpapa/orgs","repos_url":"https://api.github.com/users/johnpapa/repos","events_url":"https://api.github.com/users/johnpapa/events{/privacy}","received_events_url":"https://api.github.com/users/johnpapa/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T13:17:45Z","updated_at":"2015-12-13T13:17:45Z","body":"I've avoided using bard.appModule for this reason. Wondering if we should just remove it @wardbell "}}