aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-02-01 01:30:00 +1030
committerMatthew Draper <matthew@trebex.net>2016-02-01 01:56:47 +1030
commite77368637e17e6a33db2713f651e85a09456c645 (patch)
tree6d62404d3b64969d04d9f70a4c5c9ed44f2253e9 /railties/test
parent6162c49e40582bf058a6bb82ccc0cfb8f92332b6 (diff)
downloadrails-e77368637e17e6a33db2713f651e85a09456c645.tar.gz
rails-e77368637e17e6a33db2713f651e85a09456c645.tar.bz2
rails-e77368637e17e6a33db2713f651e85a09456c645.zip
Switch the default redis adapter to a single-stream model
This new adapter does get a little more intimate with the redis-rb gem's implementation than I would like, but it's the least bad of the approaches I've come up with.
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/app_generator_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 53f8ed6af0..49536c068f 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -400,7 +400,6 @@ class AppGeneratorTest < Rails::Generators::TestCase
assert_no_match(/action_cable_meta_tag/, content)
end
assert_file "Gemfile" do |content|
- assert_no_match(/em-hiredis/, content)
assert_no_match(/redis/, content)
end
end
@@ -412,14 +411,12 @@ class AppGeneratorTest < Rails::Generators::TestCase
assert_no_file "app/assets/javascripts/cable.coffee"
assert_no_file "app/channels"
assert_file "Gemfile" do |content|
- assert_no_match(/em-hiredis/, content)
assert_no_match(/redis/, content)
end
end
def test_action_cable_redis_gems
run_generator
- assert_gem 'em-hiredis'
assert_gem 'redis'
end