diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2019-01-16 15:28:13 +0000 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2019-01-16 16:34:34 +0000 |
commit | d7097cf5e00faf2ac4d02bd1a5c37801671ce70c (patch) | |
tree | 3a864ab7a55a95f032e4e4b9afbcbf1d24d1bdeb /railties/lib | |
parent | a43052cbbcb4f6671cf16fa45c906984fe601fa0 (diff) | |
download | rails-d7097cf5e00faf2ac4d02bd1a5c37801671ce70c.tar.gz rails-d7097cf5e00faf2ac4d02bd1a5c37801671ce70c.tar.bz2 rails-d7097cf5e00faf2ac4d02bd1a5c37801671ce70c.zip |
Add `rails test:channels`.
Add this rake task to test channels only.
We've added `rails test:mailboxes` recently in the same way #34828.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/test_unit/testing.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_unit/testing.rake b/railties/lib/rails/test_unit/testing.rake index ecc458b21e..3a1b62d9d1 100644 --- a/railties/lib/rails/test_unit/testing.rake +++ b/railties/lib/rails/test_unit/testing.rake @@ -28,7 +28,7 @@ namespace :test do desc "Run tests quickly, but also reset db" task db: %w[db:test:prepare test] - ["models", "helpers", "controllers", "mailers", "integration", "jobs", "mailboxes"].each do |name| + ["models", "helpers", "channels", "controllers", "mailers", "integration", "jobs", "mailboxes"].each do |name| task name => "test:prepare" do $: << "test" Rails::TestUnit::Runner.rake_run(["test/#{name}"]) |