{"action":"created","issue":{"url":"https://api.github.com/repos/shouldjs/sinon/issues/5","labels_url":"https://api.github.com/repos/shouldjs/sinon/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/shouldjs/sinon/issues/5/comments","events_url":"https://api.github.com/repos/shouldjs/sinon/issues/5/events","html_url":"https://github.com/shouldjs/sinon/issues/5","id":128640447,"number":5,"title":"Unhelpful AssertionError message when .not is used with .called (and possibly others)","user":{"login":"NemoStein","id":2738812,"avatar_url":"https://avatars.githubusercontent.com/u/2738812?v=3","gravatar_id":"","url":"https://api.github.com/users/NemoStein","html_url":"https://github.com/NemoStein","followers_url":"https://api.github.com/users/NemoStein/followers","following_url":"https://api.github.com/users/NemoStein/following{/other_user}","gists_url":"https://api.github.com/users/NemoStein/gists{/gist_id}","starred_url":"https://api.github.com/users/NemoStein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NemoStein/subscriptions","organizations_url":"https://api.github.com/users/NemoStein/orgs","repos_url":"https://api.github.com/users/NemoStein/repos","events_url":"https://api.github.com/users/NemoStein/events{/privacy}","received_events_url":"https://api.github.com/users/NemoStein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-25T21:18:11Z","updated_at":"2016-01-29T10:46:13Z","closed_at":null,"body":"Consider the following test:\r\n\r\n    it('should not call the spy', function() {\r\n        var spy = sinon.spy();\r\n        spy();\r\n        spy.should.not.be.called();\r\n    });\r\n\r\nThis test throws this really messed up message:\r\n\r\n    AssertionError: expected 'spy' not to have been called at least once but was never called (false negative fail)\r\n\r\nThis message gave me a headache trying to understand what was wrong.\r\nThis is what I expected from the assertion (or something along this):\r\n\r\n    AssertionError: expected 'spy' not to have been called but was called X times"},"comment":{"url":"https://api.github.com/repos/shouldjs/sinon/issues/comments/176689361","html_url":"https://github.com/shouldjs/sinon/issues/5#issuecomment-176689361","issue_url":"https://api.github.com/repos/shouldjs/sinon/issues/5","id":176689361,"user":{"login":"btd","id":334851,"avatar_url":"https://avatars.githubusercontent.com/u/334851?v=3","gravatar_id":"","url":"https://api.github.com/users/btd","html_url":"https://github.com/btd","followers_url":"https://api.github.com/users/btd/followers","following_url":"https://api.github.com/users/btd/following{/other_user}","gists_url":"https://api.github.com/users/btd/gists{/gist_id}","starred_url":"https://api.github.com/users/btd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btd/subscriptions","organizations_url":"https://api.github.com/users/btd/orgs","repos_url":"https://api.github.com/users/btd/repos","events_url":"https://api.github.com/users/btd/events{/privacy}","received_events_url":"https://api.github.com/users/btd/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T10:46:13Z","updated_at":"2016-01-29T10:46:13Z","body":"Ahh, got it now."}}