diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2011-12-21 08:15:36 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2011-12-21 10:15:39 -0700 |
commit | e85484814c9de25a09b468810b6c8c6c2109c90f (patch) | |
tree | 987524e6738f3827df6a1b26a268a6e0db070c4c /railties/lib/rails/engine.rb | |
parent | efb75f774a5d7383d876e1f377a9cf5396e6ffdb (diff) | |
download | rails-e85484814c9de25a09b468810b6c8c6c2109c90f.tar.gz rails-e85484814c9de25a09b468810b6c8c6c2109c90f.tar.bz2 rails-e85484814c9de25a09b468810b6c8c6c2109c90f.zip |
Rails::SubTestTask warns on test failure and moves on. Renamed from TestTaskWithoutDescription.
This makes it easier to add your own tests to the default suite:
namespace :test do
task run: 'test:acceptance'
Rails::SubTestTask.new acceptance: 'test:prepare' do |t|
t.libs << 'test'
t.pattern = 'test/acceptance/**/*_test.rb'
end
end
Now `rake` runs unit, functional, integration, and acceptance tests.
Diffstat (limited to 'railties/lib/rails/engine.rb')
0 files changed, 0 insertions, 0 deletions