diff options
author | George Claghorn <george.claghorn@gmail.com> | 2019-01-05 10:42:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 10:42:47 -0500 |
commit | 20f1f22a7837db6e75841c51b6e2600ce2fcf35c (patch) | |
tree | 6df4b0a6689e21a8cb2d62ae26a5c850fa4d0a4d /railties/test/generators/shared_generator_tests.rb | |
parent | 90350002415c64ae78ab4b411499e9f75a993950 (diff) | |
parent | 6b8048173d4a0176c9ab4694ba0f6ff331b20619 (diff) | |
download | rails-20f1f22a7837db6e75841c51b6e2600ce2fcf35c.tar.gz rails-20f1f22a7837db6e75841c51b6e2600ce2fcf35c.tar.bz2 rails-20f1f22a7837db6e75841c51b6e2600ce2fcf35c.zip |
Merge pull request #34879 from bogdanvlviv/add-skip-action-text-option-to-rails-new-cmd
Add `--skip-action-text` option to `rails new`
Diffstat (limited to 'railties/test/generators/shared_generator_tests.rb')
-rw-r--r-- | railties/test/generators/shared_generator_tests.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb index 94f69277f5..670f521a0f 100644 --- a/railties/test/generators/shared_generator_tests.rb +++ b/railties/test/generators/shared_generator_tests.rb @@ -128,6 +128,7 @@ module SharedGeneratorTests "--skip-active-storage", "--skip-action-mailer", "--skip-action-mailbox", + "--skip-action-text", "--skip-action-cable", "--skip-sprockets" ] @@ -141,6 +142,7 @@ module SharedGeneratorTests assert_file "#{application_path}/config/application.rb", /^# require\s+["']action_mailer\/railtie["']/ unless generator_class.name == "Rails::Generators::PluginGenerator" assert_file "#{application_path}/config/application.rb", /^# require\s+["']action_mailbox\/engine["']/ + assert_file "#{application_path}/config/application.rb", /^# require\s+["']action_text\/engine["']/ end assert_file "#{application_path}/config/application.rb", /^require\s+["']action_view\/railtie["']/ assert_file "#{application_path}/config/application.rb", /^# require\s+["']action_cable\/engine["']/ |