Remove warnings

warning: ambiguous first argument; put parentheses or a space even after
    `/' operator'`
This commit is contained in:
Carlos Antonio da Silva 2015-01-02 10:28:04 -02:00
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