{"action":"created","issue":{"url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/135","labels_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/135/comments","events_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/135/events","html_url":"https://github.com/mhenrixon/sidekiq-unique-jobs/issues/135","id":112549207,"number":135,"title":"No mention how to test in README","user":{"login":"denispeplin","id":1279465,"avatar_url":"https://avatars.githubusercontent.com/u/1279465?v=3","gravatar_id":"","url":"https://api.github.com/users/denispeplin","html_url":"https://github.com/denispeplin","followers_url":"https://api.github.com/users/denispeplin/followers","following_url":"https://api.github.com/users/denispeplin/following{/other_user}","gists_url":"https://api.github.com/users/denispeplin/gists{/gist_id}","starred_url":"https://api.github.com/users/denispeplin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denispeplin/subscriptions","organizations_url":"https://api.github.com/users/denispeplin/orgs","repos_url":"https://api.github.com/users/denispeplin/repos","events_url":"https://api.github.com/users/denispeplin/events{/privacy}","received_events_url":"https://api.github.com/users/denispeplin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-21T09:39:10Z","updated_at":"2015-10-21T10:31:15Z","closed_at":null,"body":"I found some information in #24. `be_unique` is mentioned there. But it only works when `unique: true` and doesn't work, for example, for `unique: until_executed`.\r\n\r\nAre there any other matchers? Or how to test uniqueness?"},"comment":{"url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/comments/149849544","html_url":"https://github.com/mhenrixon/sidekiq-unique-jobs/issues/135#issuecomment-149849544","issue_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/135","id":149849544,"user":{"login":"denispeplin","id":1279465,"avatar_url":"https://avatars.githubusercontent.com/u/1279465?v=3","gravatar_id":"","url":"https://api.github.com/users/denispeplin","html_url":"https://github.com/denispeplin","followers_url":"https://api.github.com/users/denispeplin/followers","following_url":"https://api.github.com/users/denispeplin/following{/other_user}","gists_url":"https://api.github.com/users/denispeplin/gists{/gist_id}","starred_url":"https://api.github.com/users/denispeplin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denispeplin/subscriptions","organizations_url":"https://api.github.com/users/denispeplin/orgs","repos_url":"https://api.github.com/users/denispeplin/repos","events_url":"https://api.github.com/users/denispeplin/events{/privacy}","received_events_url":"https://api.github.com/users/denispeplin/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T10:31:15Z","updated_at":"2015-10-21T10:31:15Z","body":"Thank you, I'll look!\r\n\r\nI also noticed, that I can specify anything in `unique` option, like `sidekiq_options unique: :anything`, and no error will occur, no warnings. What if I just will have a typo there? The job will be not unique, and I have no tests for that yet. But this is probably another issue."}}