Commit c9020ae5866527f0642b00bea42b71ed0476d0e4
1 parent
e426d439
Exists in
spb-stable
and in
2 other branches
Fix test.rake
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
lib/tasks/gitlab/test.rake
@@ -8,8 +8,7 @@ namespace :gitlab do | @@ -8,8 +8,7 @@ namespace :gitlab do | ||
8 | ] | 8 | ] |
9 | 9 | ||
10 | cmds.each do |cmd| | 10 | cmds.each do |cmd| |
11 | - system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) || | ||
12 | - raise "#{cmd} failed!" | 11 | + system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!") |
13 | end | 12 | end |
14 | end | 13 | end |
15 | -end | 14 | -end |
15 | +end | ||
16 | \ No newline at end of file | 16 | \ No newline at end of file |