Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use method rather than instance variable for queue definition in test

  • Loading branch information...
commit 43c4df71cd211e649c57b182f7252ba5cc53409c 1 parent e8b8954
@nicholaides nicholaides authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/lock_test.rb
View
2  test/lock_test.rb
@@ -6,7 +6,7 @@
class LockTest < Test::Unit::TestCase
class UniqueJob
extend Resque::Plugins::Workers::Lock
- @queue = :lock_test
+ def queue; :lock_test end
def self.worker_lock_timeout(*)
5
Please sign in to comment.
Something went wrong with that request. Please try again.