aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators_test.rb
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2017-07-25 07:51:20 -0400
committerGitHub <noreply@github.com>2017-07-25 07:51:20 -0400
commitec21b97214e1ca415030be1a0d0d6f4ff33b283c (patch)
tree31874c2c3d8c903847d020a58a6b4ccba7c05440 /railties/test/generators_test.rb
parent1d3b6d23109157b794baca09a9d1167fa40a58fe (diff)
parent75ccdfed8d43d79f6590653212ecea7124759439 (diff)
downloadrails-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.rb2
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