Permalink
Browse files

Remove warning in namespaced generator test

  • Loading branch information...
carlosantoniodasilva committed May 19, 2012
1 parent bd838c0 commit 573448f0114a9fe1c80cfb6b84ced842fa4ea63a
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/namespaced_generators_test.rb
@@ -66,7 +66,7 @@ def test_namespaced_controller_dont_indent_blank_lines
run_generator
assert_file "app/controllers/test_app/account_controller.rb" do |content|
content.split("\n").each do |line|
- assert_no_match /^\s+$/, line, "Don't indent blank lines"
+ assert_no_match(/^\s+$/, line, "Don't indent blank lines")
end
end
end

0 comments on commit 573448f

Please sign in to comment.