diff options
author | Vladimir Dementyev <dementiev.vm@gmail.com> | 2019-01-13 22:53:46 -0500 |
---|---|---|
committer | Vladimir Dementyev <dementiev.vm@gmail.com> | 2019-01-13 22:56:12 -0500 |
commit | fc95836f8776b708ac30e4f1b83cc2a3cddfa77d (patch) | |
tree | fe7f54ce5a0c05afd70b5252dd3aaab9f2543068 /railties/test/generators | |
parent | 0f41aa30d30afff051e68afe67c53b626d5b05c0 (diff) | |
download | rails-fc95836f8776b708ac30e4f1b83cc2a3cddfa77d.tar.gz rails-fc95836f8776b708ac30e4f1b83cc2a3cddfa77d.tar.bz2 rails-fc95836f8776b708ac30e4f1b83cc2a3cddfa77d.zip |
Add connection_test to app generator
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 3 |
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 839e6feb39..e0cd7f90ce 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -81,6 +81,7 @@ DEFAULT_APP_FILES = %w( test/test_helper.rb test/fixtures test/fixtures/files + test/channels/application_cable/connection_test.rb test/controllers test/models test/helpers @@ -363,6 +364,8 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file "#{app_root}/config/environments/production.rb" do |content| assert_no_match(/config\.action_cable/, content) end + + assert_no_file "#{app_root}/test/channels/application_cable/connection_test.rb" end def test_app_update_does_not_generate_bootsnap_contents_when_skip_bootsnap_is_given |