summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-26 20:30:45 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-26 20:30:45 +0000
commitc9020ae5866527f0642b00bea42b71ed0476d0e4 (patch)
tree54b0d4a20985649de2dc54b32dd88ec64119a161 /lib/tasks
parente426d43924be265d4834f47fd765895dde6017fb (diff)
downloadgitlab-ce-c9020ae5866527f0642b00bea42b71ed0476d0e4.tar.gz
Fix test.rake
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/test.rake5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/tasks/gitlab/test.rake b/lib/tasks/gitlab/test.rake
index f38fe7810c1..5b937ce0a28 100644
--- a/lib/tasks/gitlab/test.rake
+++ b/lib/tasks/gitlab/test.rake
@@ -8,8 +8,7 @@ namespace :gitlab do
]
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
-end
+end \ No newline at end of file