gitlab-org--gitlab-foss/lib/tasks/gitlab/test.rake
Ciro Santilli a7e0ca9e83 Add trailing newline to all text files.
Present in the large majority of files of each respective type.
2014-06-21 11:20:22 +02:00

14 lines
290 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