spec/rico_spec.rb in rico-0.1.0 vs spec/rico_spec.rb in rico-0.2.0

- old
+ new

@@ -12,16 +12,15 @@ end Rico.namespace.should eql "myapp" end - it "accepts a riak client instance" do - riak = Riak::Client.new + it "accepts a hash of options" do Rico.configure do |r| - r.riak = riak + r.options = { http_port: 5151 } end - Rico.riak.should eql riak + Rico.options.should eql({ http_port: 5151 }) end end describe ".bucket" do describe "namespacing" do