Skip to content

Commit

Permalink
Run tests before specs
Browse files Browse the repository at this point in the history
  • Loading branch information
pkqk committed Oct 16, 2015
1 parent dc3c4af commit f779931
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Rakefile
Expand Up @@ -7,13 +7,11 @@ require File.expand_path('../config/application', __FILE__)
OpenDataCertificate::Application.load_tasks

Rake::Task["default"].clear
task default: ["spec", "test", "cucumber"]
task default: %w[test spec cucumber]

if Rails.env.test?

require 'coveralls/rake/task'
Coveralls::RakeTask.new

task :default => ["spec", "test", "cucumber", "coveralls:push"]

task default: %w[test spec cucumber coveralls:push]
end

0 comments on commit f779931

Please sign in to comment.