Skip to content

Commit

Permalink
Ensure lock created in unlock test
Browse files Browse the repository at this point in the history
  • Loading branch information
humancopy committed Feb 3, 2012
1 parent 7149f31 commit 1218d52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/lock_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def test_lock_with_args

def test_unlock
Resque.enqueue(Job)
assert_equal "true", Resque.redis.hget('resque-lock', Job.lock)
Resque.dequeue(Job)
assert_nil Resque.redis.hget('resque-lock', Job.lock)
end
Expand Down

0 comments on commit 1218d52

Please sign in to comment.