1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix railties tests

Minitest uses different signature for assert_no_match, so we have to
swap arguments.
This commit is contained in:
Piotr Sarnacki 2012-05-19 04:49:07 -07:00
parent 099bb5d7b0
commit bd838c0e74

View file

@ -66,7 +66,7 @@ class NamespacedControllerGeneratorTest < NamespacedGeneratorTestCase
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