features/support/firewall_helper.rb in message-driver-0.6.1 vs features/support/firewall_helper.rb in message-driver-0.7.0

- old
+ new

@@ -18,11 +18,11 @@ ], teardown: [ 'sudo service rabbitmq-server start' ] } - } + }.freeze def block_broker_port run_commands(:setup) @firewall_rule_set = true end @@ -33,10 +33,10 @@ end def run_commands(step) COMMANDS[os][step].each do |cmd| result = system(cmd) - fail "command `#{cmd}` failed!" unless result + raise "command `#{cmd}` failed!" unless result end end def os if darwin?