Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix railties tests

Minitest uses different signature for assert_no_match, so we have to
swap arguments.
  • Loading branch information...
commit bd838c0e74b31767944435585ade3edeed7990de 1 parent 099bb5d
@drogus drogus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/generators/namespaced_generators_test.rb
View
2  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 line, /^\s+$/, "Don't indent blank lines"
+ assert_no_match /^\s+$/, line, "Don't indent blank lines"
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.