spec/integration/riak/test_server_spec.rb in riak-client-0.9.0.beta2 vs spec/integration/riak/test_server_spec.rb in riak-client-0.9.0
- old
+ new
@@ -154,10 +154,10 @@
it "should recycle the server contents" do
begin
@server.prepare!
@server.start.should be_true
- client = Riak::Client.new(:port => 9000)
+ client = Riak::Client.new(:http_port => 9000)
obj = client['test_bucket'].new("test_item")
obj.data = {"data" => "testing"}
obj.store rescue nil
@server.recycle