diff options
Diffstat (limited to 'activemodel/Rakefile')
-rw-r--r-- | activemodel/Rakefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile index 9982d49bcb..c7f97a4258 100644 --- a/activemodel/Rakefile +++ b/activemodel/Rakefile @@ -1,11 +1,10 @@ -require 'rake/testtask' +require "rake/testtask" dir = File.dirname(__FILE__) -task :default => :test +task default: :test task :package -task "package:clean" Rake::TestTask.new do |t| t.libs << "test" @@ -18,7 +17,7 @@ end namespace :test do task :isolated do Dir.glob("#{dir}/test/**/*_test.rb").all? do |file| - sh(Gem.ruby, '-w', "-I#{dir}/lib", "-I#{dir}/test", file) - end or raise "Failures" + sh(Gem.ruby, "-w", "-I#{dir}/lib", "-I#{dir}/test", file) + end || raise("Failures") end end |