Verify the helper name with plural as it is generated
Thanks @robin850.
This commit is contained in:
parent
58009ace37
commit
120bf7444f
@ -267,7 +267,7 @@ def test_scaffold_generator_no_helper_with_switch_helper_false
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user