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:
parent
099bb5d7b0
commit
bd838c0e74
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue