spec/framework_spec/app/spec/library/net/http/http/propfind_spec.rb in rhodes-3.2.0.beta.5 vs spec/framework_spec/app/spec/library/net/http/http/propfind_spec.rb in rhodes-3.2.0.beta.6
- old
+ new
@@ -10,10 +10,10 @@
after(:all) do
NetHTTPSpecs.stop_server
end
before(:each) do
- @http = Net::HTTP.start("127.0.0.1", 3454)
+ @http = Net::HTTP.start("127.0.0.1", NetHTTPSpecs.server_port)
end
it "sends an propfind request to the passed path and returns the response" do
response = @http.propfind("/request", "test=test")
response.body.should == "Request type: PROPFIND"