Permalink
Browse files

flush properly

  • Loading branch information...
1 parent 4458ccb commit 182e93aab31ce50562429ad3b0cd5f339ce846b9 @rcarver committed Apr 9, 2010
View
2 test/combined_test.rb
@@ -3,7 +3,7 @@
class Resque::CombinedTest < Test::Unit::TestCase
def setup
- Resque.redis.flush_all
+ Resque.redis.flushall
end
def test_lock_on_fail_with_lock_on_retry
View
2 test/locked_test.rb
@@ -3,7 +3,7 @@
class Resque::LockedJobTest < Test::Unit::TestCase
def setup
- Resque.redis.flush_all
+ Resque.redis.flushall
end
def test_lint
View
2 test/retried_test.rb
@@ -20,7 +20,7 @@ def test_can_determine_if_the_exception_is_retried
class Resque::RetriedJobWithSleepTest < Test::Unit::TestCase
def setup
- Resque.redis.flush_all
+ Resque.redis.flushall
end
def test_default_seconds_until_retry
View
2 test/retried_test_with_scheduler.rb
@@ -12,7 +12,7 @@ def self.last_enqueued_in
class Resque::RetriedJobWithResqueSchedulerTest < Test::Unit::TestCase
def setup
- Resque.redis.flush_all
+ Resque.redis.flushall
end
def test_default_seconds_until_retry
View
2 test/retry_on_fail_test.rb
@@ -3,7 +3,7 @@
class Resque::RetriedOnFailJobTest < Test::Unit::TestCase
def setup
- Resque.redis.flush_all
+ Resque.redis.flushall
end
def test_lint
View
2 test/retry_on_lock_test.rb
@@ -3,7 +3,7 @@
class Resque::RetriedOnLockJobTest < Test::Unit::TestCase
def setup
- Resque.redis.flush_all
+ Resque.redis.flushall
end
def test_lint

0 comments on commit 182e93a

Please sign in to comment.