aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/support/integration/adapters
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael.franca@plataformatec.com.br>2014-12-13 00:05:25 -0200
committerRafael Mendonça França <rafael.franca@plataformatec.com.br>2014-12-13 00:06:31 -0200
commitaab670b43084a75f3e48402a1272318efaa2d5a1 (patch)
tree4fd098a036ffb47b13d9b26384fd7382d1b98686 /activejob/test/support/integration/adapters
parentb64d89482aa6e8ef90ff98920da8627968e116fe (diff)
downloadrails-aab670b43084a75f3e48402a1272318efaa2d5a1.tar.gz
rails-aab670b43084a75f3e48402a1272318efaa2d5a1.tar.bz2
rails-aab670b43084a75f3e48402a1272318efaa2d5a1.zip
redis 3.2.0 doesn't allow tcp protocol anymore
Use redis protocol
Diffstat (limited to 'activejob/test/support/integration/adapters')
-rw-r--r--activejob/test/support/integration/adapters/resque.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/support/integration/adapters/resque.rb b/activejob/test/support/integration/adapters/resque.rb
index 82acb17b2b..912f4bc387 100644
--- a/activejob/test/support/integration/adapters/resque.rb
+++ b/activejob/test/support/integration/adapters/resque.rb
@@ -1,7 +1,7 @@
module ResqueJobsManager
def setup
ActiveJob::Base.queue_adapter = :resque
- Resque.redis = Redis::Namespace.new 'active_jobs_int_test', redis: Redis.connect(url: "tcp://127.0.0.1:6379/12", :thread_safe => true)
+ Resque.redis = Redis::Namespace.new 'active_jobs_int_test', redis: Redis.connect(url: "redis://127.0.0.1:6379/12", :thread_safe => true)
Resque.logger = Rails.logger
unless can_run?
puts "Cannot run integration tests for resque. To be able to run integration tests for resque you need to install and start redis.\n"