diff options
author | Jon Moss <me@jonathanmoss.me> | 2016-02-04 22:33:46 -0500 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2016-02-24 19:05:03 -0500 |
commit | 8b69f1eeba753c38364fb88136b2503480f2de1d (patch) | |
tree | 6c855e3aaeaf1de00d6d92da22ae4d1d90785e33 /railties/test/generators | |
parent | b5431d7843cc286586a5ed43c1f92e35cacec07e (diff) | |
download | rails-8b69f1eeba753c38364fb88136b2503480f2de1d.tar.gz rails-8b69f1eeba753c38364fb88136b2503480f2de1d.tar.bz2 rails-8b69f1eeba753c38364fb88136b2503480f2de1d.zip |
Enable Action Cable routes by default
This also marks Action Cable routes as internal to Rails.
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 3 |
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 c2c3638f07..bc80c7eb1b 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -406,9 +406,6 @@ 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(/redis/, content) end |