diff options
author | Mike Perham <mperham@gmail.com> | 2014-05-20 09:05:16 -0700 |
---|---|---|
committer | Mike Perham <mperham@gmail.com> | 2014-05-20 09:05:16 -0700 |
commit | 85880eb427191bdd46967ff3bacf95419df3ef7a (patch) | |
tree | 73271b282ab72e20b5c19f222acaa829047b10af | |
parent | 2aa9024eede567ae4daa97df62e32f57265096bc (diff) | |
download | rails-85880eb427191bdd46967ff3bacf95419df3ef7a.tar.gz rails-85880eb427191bdd46967ff3bacf95419df3ef7a.tar.bz2 rails-85880eb427191bdd46967ff3bacf95419df3ef7a.zip |
Assert truthy
-rw-r--r-- | test/cases/queuing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/queuing_test.rb b/test/cases/queuing_test.rb index f29f627da1..958b81ca3a 100644 --- a/test/cases/queuing_test.rb +++ b/test/cases/queuing_test.rb @@ -21,7 +21,7 @@ class QueuingTest < ActiveSupport::TestCase test 'run queued job later' do begin result = HelloJob.enqueue_at 1.second.ago, "Jamie" - assert_not_nil result + assert result rescue NotImplementedError end end |