spec/reel/server_spec.rb in reel-0.4.0.pre vs spec/reel/server_spec.rb in reel-0.4.0.pre2
- old
+ new
@@ -33,10 +33,10 @@
handler = proc do |connection|
begin
request = connection.request
request.method.should eq 'POST'
- connection.respond :ok, request.body
+ connection.respond :ok, request.body.to_s
rescue => ex
end
end
with_reel(handler) do