spec/server_spec.rb in http-2-0.10.2 vs spec/server_spec.rb in http-2-0.11.0

- old
+ new

@@ -40,10 +40,10 @@ client = Client.new client.on(:frame) { |bytes| @srv << bytes } @srv.on(:stream) do |stream| expect do - stream.promise(':method' => 'GET') {} + stream.promise({ ':method' => 'GET' }) {} end.to_not raise_error end client.new_stream client.send headers_frame