diff options
Diffstat (limited to 'actionmailer/Rakefile')
-rw-r--r-- | actionmailer/Rakefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 54e6cff48d..6f05d236d9 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -1,15 +1,14 @@ -require 'rake/testtask' +require "rake/testtask" desc "Default Task" task default: [ :test ] task :package -task "package:clean" # Run the unit tests Rake::TestTask.new { |t| t.libs << "test" - t.pattern = 'test/**/*_test.rb' + t.pattern = "test/**/*_test.rb" t.warning = true t.verbose = true t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION) @@ -18,7 +17,7 @@ Rake::TestTask.new { |t| namespace :test do task :isolated do Dir.glob("test/**/*_test.rb").all? do |file| - sh(Gem.ruby, '-w', '-Ilib:test', file) - end or raise "Failures" + sh(Gem.ruby, "-w", "-Ilib:test", file) + end || raise("Failures") end end |