aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-03 22:10:02 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-03 22:14:51 +0100
commitd10b48dd0aa00504212cb6f8598e5c1b7d0d968e (patch)
treec23d484f0ebf805e4f550fe3c9a047a09a56014d
parente4f0608164b1a25bc3a35a1bd024efe425410758 (diff)
downloadrails-d10b48dd0aa00504212cb6f8598e5c1b7d0d968e.tar.gz
rails-d10b48dd0aa00504212cb6f8598e5c1b7d0d968e.tar.bz2
rails-d10b48dd0aa00504212cb6f8598e5c1b7d0d968e.zip
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.
-rw-r--r--railties/test/application/test_runner_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/test_runner_test.rb b/railties/test/application/test_runner_test.rb
index 33bc998722..821ac9b033 100644
--- a/railties/test/application/test_runner_test.rb
+++ b/railties/test/application/test_runner_test.rb
@@ -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