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:
Kasper Timm Hansen 2016-02-03 22:10:02 +01:00
parent e4f0608164
commit d10b48dd0a
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ module ApplicationTests
end
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:SecondFilter', output
assert_match 'PostTest:FirstFilter', output