{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/988","repository_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers","labels_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/988/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/988/comments","events_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/988/events","html_url":"https://github.com/thoughtbot/shoulda-matchers/issues/988","id":199186779,"number":988,"title":"with_options on have_db_column_matcher should not ignore incorrect options","user":{"login":"pirj","id":6916,"avatar_url":"https://avatars.githubusercontent.com/u/6916?v=3","gravatar_id":"","url":"https://api.github.com/users/pirj","html_url":"https://github.com/pirj","followers_url":"https://api.github.com/users/pirj/followers","following_url":"https://api.github.com/users/pirj/following{/other_user}","gists_url":"https://api.github.com/users/pirj/gists{/gist_id}","starred_url":"https://api.github.com/users/pirj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirj/subscriptions","organizations_url":"https://api.github.com/users/pirj/orgs","repos_url":"https://api.github.com/users/pirj/repos","events_url":"https://api.github.com/users/pirj/events{/privacy}","received_events_url":"https://api.github.com/users/pirj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-06T12:29:16Z","updated_at":"2017-01-06T17:11:10Z","closed_at":null,"body":"E.g.\r\n\r\n```\r\n      is_expected.to have_db_column(:status).\r\n        with_options(default: 0, nullable: false)\r\n```\r\n\r\nHave you spotted the error?\r\nIdea is to fail the test when an option passed is not amongst available options."},"comment":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/comments/270952332","html_url":"https://github.com/thoughtbot/shoulda-matchers/issues/988#issuecomment-270952332","issue_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/988","id":270952332,"user":{"login":"mcmire","id":7371,"avatar_url":"https://avatars.githubusercontent.com/u/7371?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmire","html_url":"https://github.com/mcmire","followers_url":"https://api.github.com/users/mcmire/followers","following_url":"https://api.github.com/users/mcmire/following{/other_user}","gists_url":"https://api.github.com/users/mcmire/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmire/subscriptions","organizations_url":"https://api.github.com/users/mcmire/orgs","repos_url":"https://api.github.com/users/mcmire/repos","events_url":"https://api.github.com/users/mcmire/events{/privacy}","received_events_url":"https://api.github.com/users/mcmire/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T17:11:10Z","updated_at":"2017-01-06T17:11:10Z","body":"@pirj Sure, that would make sense. Now that I look at this again, I'm actually thinking of deprecating this matcher. Honestly, I have never used it, and I don't see much of a need for it since columns are usually implicitly tested by other things such as feature tests, model tests, or things of that nature. Do you have any thoughts about this?"}}
{"actor":{"display_login":"mcmire"}}