spec/reel/server_spec.rb in reel-0.2.0 vs spec/reel/server_spec.rb in reel-0.3.0.pre

- old
+ new

@@ -9,11 +9,11 @@ ex = nil handler = proc do |connection| begin request = connection.request - request.method.should eq :get + request.method.should eq 'GET' request.version.should eq "1.1" request.url.should eq example_path connection.respond :ok, response_body rescue => ex @@ -32,10 +32,10 @@ ex = nil handler = proc do |connection| begin request = connection.request - request.method.should eq :post + request.method.should eq 'POST' connection.respond :ok, request.body rescue => ex end end