diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2017-07-25 07:51:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 07:51:20 -0400 |
commit | ec21b97214e1ca415030be1a0d0d6f4ff33b283c (patch) | |
tree | 31874c2c3d8c903847d020a58a6b4ccba7c05440 /railties/test/generators_test.rb | |
parent | 1d3b6d23109157b794baca09a9d1167fa40a58fe (diff) | |
parent | 75ccdfed8d43d79f6590653212ecea7124759439 (diff) | |
download | rails-ec21b97214e1ca415030be1a0d0d6f4ff33b283c.tar.gz rails-ec21b97214e1ca415030be1a0d0d6f4ff33b283c.tar.bz2 rails-ec21b97214e1ca415030be1a0d0d6f4ff33b283c.zip |
Merge pull request #29916 from lugray/stop_generating_application_record
Stop creating ApplicationRecord on model generation
Diffstat (limited to 'railties/test/generators_test.rb')
-rw-r--r-- | railties/test/generators_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb index e07627f36d..5063e864ca 100644 --- a/railties/test/generators_test.rb +++ b/railties/test/generators_test.rb @@ -124,7 +124,7 @@ class GeneratorsTest < Rails::Generators::TestCase def test_rails_generators_help_does_not_include_app_nor_plugin_new output = capture(:stdout) { Rails::Generators.help } - assert_no_match(/app/, output) + assert_no_match(/app\W/, output) assert_no_match(/[^:]plugin/, output) end |