diff options
-rw-r--r-- | lib/tasks/spec.rake | 3 | ||||
-rw-r--r-- | lib/tasks/spinach.rake | 3 |
2 files changed, 2 insertions, 4 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 diff --git a/lib/tasks/spinach.rake b/lib/tasks/spinach.rake index ebcce1e650c..dcc7d0fe01c 100644 --- a/lib/tasks/spinach.rake +++ b/lib/tasks/spinach.rake @@ -8,7 +8,6 @@ task :spinach 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 |