{"action":"opened","issue":{"url":"https://api.github.com/repos/philostler/rspec-sidekiq/issues/107","repository_url":"https://api.github.com/repos/philostler/rspec-sidekiq","labels_url":"https://api.github.com/repos/philostler/rspec-sidekiq/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/philostler/rspec-sidekiq/issues/107/comments","events_url":"https://api.github.com/repos/philostler/rspec-sidekiq/issues/107/events","html_url":"https://github.com/philostler/rspec-sidekiq/issues/107","id":178783745,"number":107,"title":"Matchers for scheduled jobs always pass","user":{"login":"jagthedrummer","id":58702,"avatar_url":"https://avatars.githubusercontent.com/u/58702?v=3","gravatar_id":"","url":"https://api.github.com/users/jagthedrummer","html_url":"https://github.com/jagthedrummer","followers_url":"https://api.github.com/users/jagthedrummer/followers","following_url":"https://api.github.com/users/jagthedrummer/following{/other_user}","gists_url":"https://api.github.com/users/jagthedrummer/gists{/gist_id}","starred_url":"https://api.github.com/users/jagthedrummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagthedrummer/subscriptions","organizations_url":"https://api.github.com/users/jagthedrummer/orgs","repos_url":"https://api.github.com/users/jagthedrummer/repos","events_url":"https://api.github.com/users/jagthedrummer/events{/privacy}","received_events_url":"https://api.github.com/users/jagthedrummer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T04:44:47Z","updated_at":"2016-09-23T04:44:47Z","closed_at":null,"body":"I'm using the latest work in the `develop` branch by using this in my Gemfile:\r\n\r\n```ruby\r\ngem 'rspec-sidekiq', :git => 'https://github.com/philostler/rspec-sidekiq.git', :branch => 'develop'\r\n```\r\n\r\nI'm queueing a job in the future like this:\r\n\r\n```ruby\r\nAccountPermissionWorker.perform_at(2.days.from_now, self.id)\r\n```\r\n\r\nAnd I'm trying to make a test fail by doing:\r\n\r\n```ruby\r\nexpect(::AccountPermissionWorker).to have_enqueued_sidekiq_job(@account.id).at(4.days.from_now)\r\n```\r\n\r\nNo matter what `at` time I test for the test always passes when it should fail."}}
{"actor":{"display_login":"jagthedrummer"}}