diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 16:50:15 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 16:50:15 -0800 |
commit | bbb3e5a858b2d078b2af7516a583fa12f3edb565 (patch) | |
tree | 980814745eb39f4a771a50ee8b3c3947f8485c17 /actionmailer/Rakefile | |
parent | e02bff2634d94c07780884cae83b258d3f3a9a0e (diff) | |
download | rails-bbb3e5a858b2d078b2af7516a583fa12f3edb565.tar.gz rails-bbb3e5a858b2d078b2af7516a583fa12f3edb565.tar.bz2 rails-bbb3e5a858b2d078b2af7516a583fa12f3edb565.zip |
Unify test:isolated across components and run by default at toplevel
Diffstat (limited to 'actionmailer/Rakefile')
-rw-r--r-- | actionmailer/Rakefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 140661ecb0..1a7ece5068 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -27,11 +27,13 @@ Rake::TestTask.new { |t| t.warning = true } -task :isolated_test do - ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) - Dir.glob("test/*_test.rb").all? do |file| - system(ruby, '-Ilib:test', file) - end or raise "Failures" +namespace :test do + task :isolated do + ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) + Dir.glob("test/*_test.rb").all? do |file| + system(ruby, '-Ilib:test', file) + end or raise "Failures" + end end # Generate the RDoc documentation |