aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 11:51:07 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 12:11:03 -0300
commitf663132eef0e5d96bf2a58cec9f7c856db20be7c (patch)
treebba52e406c09e0b2cfb9ec1e8b591c5fee630e11 /railties
parentc564dcb75c191ab3d21cc6f920998b0d6fbca623 (diff)
downloadrails-f663132eef0e5d96bf2a58cec9f7c856db20be7c.tar.gz
rails-f663132eef0e5d96bf2a58cec9f7c856db20be7c.tar.bz2
rails-f663132eef0e5d96bf2a58cec9f7c856db20be7c.zip
Remove deprecated `test:all` and `test:all:db` tasks
Diffstat (limited to 'railties')
-rw-r--r--railties/CHANGELOG.md2
-rw-r--r--railties/lib/rails/test_unit/testing.rake23
2 files changed, 2 insertions, 23 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 13f826a7a8..f565b7bd55 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,5 @@
+* Remove deprecated `test:all` and `test:all:db` tasks.
+
* Remove deprecated `Rails::Rack::LogTailer`.
*Rafael Mendonça França*
diff --git a/railties/lib/rails/test_unit/testing.rake b/railties/lib/rails/test_unit/testing.rake
index 254ea9ecf6..d836c0d6d6 100644
--- a/railties/lib/rails/test_unit/testing.rake
+++ b/railties/lib/rails/test_unit/testing.rake
@@ -21,29 +21,6 @@ namespace :test do
desc "Run tests quickly, but also reset db"
task :db => %w[db:test:prepare test]
- desc "Run tests quickly by merging all types and not resetting db"
- Rails::TestTask.new(:all) do |t|
- t.pattern = "test/**/*_test.rb"
- end
-
- Rake::Task["test:all"].enhance do
- Rake::Task["test:deprecate_all"].invoke
- end
-
- task :deprecate_all do
- ActiveSupport::Deprecation.warn "rake test:all is deprecated and will be removed in Rails 5. " \
- "Use rake test to run all tests in test directory."
- end
-
- namespace :all do
- desc "Run tests quickly, but also reset db"
- task :db => %w[db:test:prepare test:all]
-
- Rake::Task["test:all:db"].enhance do
- Rake::Task["test:deprecate_all"].invoke
- end
- end
-
Rails::TestTask.new(single: "test:prepare")
["models", "helpers", "controllers", "mailers", "integration", "jobs"].each do |name|