aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-02-24 10:09:56 +0100
committerYves Senn <yves.senn@gmail.com>2014-02-24 10:09:56 +0100
commitb5c6c31dba40b0c868cd71d3d903f92ed2e50543 (patch)
tree45132db43dc31a28f906748ebf65bf5554aba6ef /railties/test/generators
parent174c9f0df39cd338a4871f82794256cc64f68a81 (diff)
downloadrails-b5c6c31dba40b0c868cd71d3d903f92ed2e50543.tar.gz
rails-b5c6c31dba40b0c868cd71d3d903f92ed2e50543.tar.bz2
rails-b5c6c31dba40b0c868cd71d3d903f92ed2e50543.zip
build fix. follow up to 174c9f0df39cd338a4871f82794256cc64f68a81
Diffstat (limited to 'railties/test/generators')
-rw-r--r--railties/test/generators/resource_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/resource_generator_test.rb b/railties/test/generators/resource_generator_test.rb
index 297cf99998..55c8d92ee8 100644
--- a/railties/test/generators/resource_generator_test.rb
+++ b/railties/test/generators/resource_generator_test.rb
@@ -63,7 +63,7 @@ class ResourceGeneratorTest < Rails::Generators::TestCase
content = run_generator ["accounts".freeze]
assert_file "app/models/account.rb", /class Account < ActiveRecord::Base/
assert_file "test/models/account_test.rb", /class AccountTest/
- assert_match(/Plural version of the model detected, using singularized version. Override with --force-plural or setup custom inflection rules for this noun before running the generator./, content)
+ assert_match(/The model name 'accounts' was recognized as a plural, using the singular 'account'\. Override with --force-plural or setup custom inflection rules for this noun before running the generator\./, content)
end
def test_plural_names_can_be_forced