spec/unit/connection_spec.rb in couchrest_model-2.1.0.beta2 vs spec/unit/connection_spec.rb in couchrest_model-2.1.0.rc1

- old
+ new

@@ -103,9 +103,14 @@ :password => 'bar' } @class.server.uri.to_s.should eql("https://foo:bar@127.0.0.1:5985") end + it "should pass through the persistent connection option" do + @class.connection[:persistent] = false + expect(@class.server.connection_options[:persistent]).to be_false + end + end describe ".prepare_database" do it "should respond to" do @class.should respond_to(:prepare_database)