aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-01-22 08:00:01 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-01-22 08:00:01 +0100
commit5d9e923d279f26e117d68d442e5c88a33341fe67 (patch)
tree75a94903155f2ad7480cfecc97b2009affdc83d2 /railties/test/generators
parent24a316d15f5d9204016ae7d31a1b30fb35529028 (diff)
parentcd0d649dc4cbe0bc40871017ab48e2ede8591482 (diff)
downloadrails-5d9e923d279f26e117d68d442e5c88a33341fe67.tar.gz
rails-5d9e923d279f26e117d68d442e5c88a33341fe67.tar.bz2
rails-5d9e923d279f26e117d68d442e5c88a33341fe67.zip
Merge pull request #23174 from JuanitoFatas/followup-skip-action-cable
Remove action_cable_meta_tag when skip Action Cable
Diffstat (limited to 'railties/test/generators')
-rw-r--r--railties/test/generators/app_generator_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 192fac764d..5b62b500e5 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -396,6 +396,9 @@ class AppGeneratorTest < Rails::Generators::TestCase
assert_no_file "config/cable.yml"
assert_no_file "app/assets/javascripts/cable.coffee"
assert_no_file "app/channels"
+ assert_file "app/views/layouts/application.html.erb" do |content|
+ 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)