Permalink
Browse files

build fix. follow up to 174c9f0

  • Loading branch information...
1 parent 174c9f0 commit b5c6c31dba40b0c868cd71d3d903f92ed2e50543 @senny senny committed Feb 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/resource_generator_test.rb
@@ -63,7 +63,7 @@ def test_plural_names_are_singularized
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

0 comments on commit b5c6c31

Please sign in to comment.