From 38e8d5b10c8a7f8084e49f6571759bb424854d03 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 9 Nov 2009 23:42:17 -0600 Subject: Enable warnings for mailer tests --- actionmailer/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/Rakefile') diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 96c84b986e..140661ecb0 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -24,7 +24,7 @@ Rake::TestTask.new { |t| t.libs << "test" t.pattern = 'test/*_test.rb' t.verbose = true - t.warning = false + t.warning = true } task :isolated_test do -- cgit v1.2.3 From bbb3e5a858b2d078b2af7516a583fa12f3edb565 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 10 Nov 2009 16:50:15 -0800 Subject: Unify test:isolated across components and run by default at toplevel --- actionmailer/Rakefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'actionmailer/Rakefile') 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 -- cgit v1.2.3