Remove warnings
warning: ambiguous first argument; put parentheses or a space even after `/' operator'`
This commit is contained in:
parent
120bf7444f
commit
b63382ec06
@ -259,14 +259,14 @@ def test_scaffold_generator_with_switch_resource_route_false
|
||||
def test_scaffold_generator_no_helper_with_switch_no_helper
|
||||
output = run_generator [ "posts", "--no-helper" ]
|
||||
|
||||
assert_no_match /error/, output
|
||||
assert_no_match(/error/, output)
|
||||
assert_no_file "app/helpers/posts_helper.rb"
|
||||
end
|
||||
|
||||
def test_scaffold_generator_no_helper_with_switch_helper_false
|
||||
output = run_generator [ "posts", "--helper=false" ]
|
||||
|
||||
assert_no_match /error/, output
|
||||
assert_no_match(/error/, output)
|
||||
assert_no_file "app/helpers/posts_helper.rb"
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user