summaryrefslogtreecommitdiff
path: root/lib/tasks/spec.rake
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-27 08:12:03 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-27 08:12:03 +0300
commit1e7fa8d99b52d89571b8e9581746561d00c383d5 (patch)
treeb688f148b92e50724c0b0b59b4e0e215423837d0 /lib/tasks/spec.rake
parentc9020ae5866527f0642b00bea42b71ed0476d0e4 (diff)
downloadgitlab-ce-1e7fa8d99b52d89571b8e9581746561d00c383d5.tar.gz
Fix syntax error
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/tasks/spec.rake')
-rw-r--r--lib/tasks/spec.rake3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tasks/spec.rake b/lib/tasks/spec.rake
index a7cd7483bed..bee22300298 100644
--- a/lib/tasks/spec.rake
+++ b/lib/tasks/spec.rake
@@ -40,7 +40,6 @@ end
def run_commands(cmds)
cmds.each do |cmd|
- system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) ||
- raise "#{cmd} failed!"
+ system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
end
end