lib/cucumber/wire_support/wire_packet.rb in cucumber-0.4.5.rc2 vs lib/cucumber/wire_support/wire_packet.rb in cucumber-0.5.0
- old
+ new
@@ -20,13 +20,9 @@
def to_json
[@message, @params].to_json
end
- def raise_if_bad
- raise WireException.new(@params) if @message == 'fail' || @message == 'step_failed'
- end
-
def handle_with(handler)
handler.send("handle_#{@message}", @params)
end
end
end