aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/test_runner_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-03-29 15:30:04 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-04-03 12:16:18 -0400
commit62a080309bf4c2fde377cf37aecce38b9818d423 (patch)
tree19582bb44ded3236936467e878b8d1d46a6255e5 /railties/test/application/test_runner_test.rb
parentdb924e1257f37dff441fee7c6e2bbd8ba382d7a6 (diff)
downloadrails-62a080309bf4c2fde377cf37aecce38b9818d423.tar.gz
rails-62a080309bf4c2fde377cf37aecce38b9818d423.tar.bz2
rails-62a080309bf4c2fde377cf37aecce38b9818d423.zip
apps that depend on active record should load fixtures
Diffstat (limited to 'railties/test/application/test_runner_test.rb')
-rw-r--r--railties/test/application/test_runner_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/railties/test/application/test_runner_test.rb b/railties/test/application/test_runner_test.rb
index 56ca3bc1a9..9701640974 100644
--- a/railties/test/application/test_runner_test.rb
+++ b/railties/test/application/test_runner_test.rb
@@ -184,13 +184,6 @@ module ApplicationTests
end
end
- def test_not_load_fixtures_when_running_single_test
- create_model_with_fixture
- create_fixture_test :models, 'user'
- assert_match "0 users", run_test_command('test/models/user_test.rb')
- assert_match "3 users", run_test_command('test/models/user_test.rb -f')
- end
-
def test_load_fixtures_when_running_test_suites
create_model_with_fixture
suites = [:models, :helpers, [:units, :unit], :controllers, :mailers,