{"comment":{"url":"https://api.github.com/repos/kenwmak/address-bloc/comments/12335638","html_url":"https://github.com/kenwmak/address-bloc/commit/54b947efec82268e769771978971b7140ee66575#commitcomment-12335638","id":12335638,"user":{"login":"droberts84","id":4960334,"avatar_url":"https://avatars.githubusercontent.com/u/4960334?v=3","gravatar_id":"","url":"https://api.github.com/users/droberts84","html_url":"https://github.com/droberts84","followers_url":"https://api.github.com/users/droberts84/followers","following_url":"https://api.github.com/users/droberts84/following{/other_user}","gists_url":"https://api.github.com/users/droberts84/gists{/gist_id}","starred_url":"https://api.github.com/users/droberts84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droberts84/subscriptions","organizations_url":"https://api.github.com/users/droberts84/orgs","repos_url":"https://api.github.com/users/droberts84/repos","events_url":"https://api.github.com/users/droberts84/events{/privacy}","received_events_url":"https://api.github.com/users/droberts84/received_events","type":"User","site_admin":false},"position":15,"line":141,"path":"spec/address_book_spec.rb","commit_id":"54b947efec82268e769771978971b7140ee66575","created_at":"2015-07-24T03:58:12Z","updated_at":"2015-07-24T03:58:12Z","body":"This is a creative use of expect, but I recommend using the [built in matchers](https://www.relishapp.com/rspec/rspec-expectations/v/3-3/docs/built-in-matchers) whenever possible.  If this fails, you're spec will say something like \"expected true, received false\" which is not at all helpful in fixing the error.\r\n\r\nIf you use the `be_a` matcher like below, you would get something like \"Expected entry to be ab be a Entry, but received a Hash\"\r\n\r\n    expect(entry).to be_a('Entry')\r\n\r\nTry out both in failing cases for yourself\r\n\r\n"}}