spec/framework_spec/app/spec/library/net/http/http/initialize_spec.rb in rhodes-3.2.0.beta.5 vs spec/framework_spec/app/spec/library/net/http/http/initialize_spec.rb in rhodes-3.2.0.beta.6

- old
+ new

@@ -26,18 +26,18 @@ end describe "when passed address, port" do before(:each) do @net = Net::HTTP.allocate - @net.send(:initialize, "127.0.0.1", 3454) + @net.send(:initialize, "127.0.0.1", NetHTTPSpecs.server_port) end it "sets the new Net::HTTP instance's address to the passed address" do @net.address.should == "127.0.0.1" end it "sets the new Net::HTTP instance's port to the passed port" do - @net.port.should eql(3454) + @net.port.should eql(NetHTTPSpecs.server_port) end it "does not start the new Net::HTTP instance" do @net.started?.should be_false end