mirror of https://github.com/rails/rails
Fix model test path typo uncovered in previous commit.
Because of the expanding whitelist for test filters, this test ended up running the tests on lines 4 and 9 in the post test even though the path wasn't right. Happened incidentally because the same line numbers were used in both account and post test. Add the .rb line so the file is required correctly and the filters are applied.
This commit is contained in:
parent
e4f0608164
commit
d10b48dd0a
|
@ -363,7 +363,7 @@ module ApplicationTests
|
||||||
end
|
end
|
||||||
RUBY
|
RUBY
|
||||||
|
|
||||||
run_test_command('test/models/account_test.rb:4:9 test/models/post_test:4:9').tap do |output|
|
run_test_command('test/models/account_test.rb:4:9 test/models/post_test.rb:4:9').tap do |output|
|
||||||
assert_match 'AccountTest:FirstFilter', output
|
assert_match 'AccountTest:FirstFilter', output
|
||||||
assert_match 'AccountTest:SecondFilter', output
|
assert_match 'AccountTest:SecondFilter', output
|
||||||
assert_match 'PostTest:FirstFilter', output
|
assert_match 'PostTest:FirstFilter', output
|
||||||
|
|
Loading…
Reference in New Issue