spec/kamerling/server/udp_spec.rb in kamerling-0.0.1 vs spec/kamerling/server/udp_spec.rb in kamerling-0.0.2

- old
+ new

@@ -20,10 +20,10 @@ end it 'doesn’t blow up on unknown inputs' do server = Server::UDP.new addr: addr, handler: handler = fake(:handler) server.start - stub(handler).handle('foo', any(Addr)) { raise Handler::UnknownInput } + stub(handler).handle('foo', any(Addr)) { fail Handler::UnknownInput } UDPSocket.new.send 'foo', 0, *server.addr run_all_threads server.stop end end