diff --git a/Rakefile b/Rakefile index b7e638b5..b17432e4 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ end desc 'Run RSpec code examples' task :spec do - system('bundle exec rspec --pattern spec/hamlit/**{,/\*/\*\*\}/\*_spec.rb') + exit system('bundle exec rspec --pattern spec/hamlit/**{,/\*/\*\*\}/\*_spec.rb') end namespace :spec do @@ -27,7 +27,7 @@ end namespace :rails do desc 'Run Rails specs' task :spec do - system('cd spec/rails && rake spec') + exit system('cd spec/rails && rake spec') end end