gitlab-org--gitlab-foss/lib/tasks/gitlab/test.rake
Dmitriy Zaporozhets c9020ae586 Fix test.rake
2014-05-26 20:30:45 +00:00

14 lines
No EOL
289 B
Ruby

namespace :gitlab do
desc "GITLAB | Run all tests"
task :test do
cmds = [
%W(rake spinach),
%W(rake spec),
%W(rake jasmine:ci)
]
cmds.each do |cmd|
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
end
end
end