diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-01-02 10:27:30 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-01-02 10:29:36 -0200 |
commit | 120bf7444f231b01dafb45ae6232a68d71d9acc4 (patch) | |
tree | 63f366d0359d7fe6db33a29a1d2ab8613bc16033 /railties/test | |
parent | 58009ace37cc07f3634ddc0bb4b5cb732b3907e5 (diff) | |
download | rails-120bf7444f231b01dafb45ae6232a68d71d9acc4.tar.gz rails-120bf7444f231b01dafb45ae6232a68d71d9acc4.tar.bz2 rails-120bf7444f231b01dafb45ae6232a68d71d9acc4.zip |
Verify the helper name with plural as it is generated
Thanks @robin850.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/scaffold_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/scaffold_generator_test.rb b/railties/test/generators/scaffold_generator_test.rb index 008b592182..0d864c79f9 100644 --- a/railties/test/generators/scaffold_generator_test.rb +++ b/railties/test/generators/scaffold_generator_test.rb @@ -267,7 +267,7 @@ class ScaffoldGeneratorTest < Rails::Generators::TestCase output = run_generator [ "posts", "--helper=false" ] assert_no_match /error/, output - assert_no_file "app/helpers/post_helper.rb" + assert_no_file "app/helpers/posts_helper.rb" end def test_scaffold_generator_no_stylesheets |