gitlabhq/lib/tasks/dev/tests.rake
2012-08-13 08:32:10 +03:00

11 lines
265 B
Ruby

namespace :dev do
desc "DEV | Run cucumber and rspec"
task :tests do
["cucumber", "rspec spec"].each do |cmd|
puts "Starting to run #{cmd}..."
system("bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0
end
end
end