Merge commit 'mattetti/master'

This commit is contained in:
Peter Gumeson 2009-06-11 21:18:37 -07:00
commit fc18b47800
7 changed files with 52 additions and 23 deletions

View file

@ -12,7 +12,8 @@ describe CouchRest::Database do
it "should escape the name in the URI" do
db = @cr.database("foo/bar")
db.name.should == "foo/bar"
db.uri.should == "#{COUCHHOST}/foo%2Fbar"
db.root.should == "#{COUCHHOST}/foo%2Fbar"
db.uri.should == "/foo%2Fbar"
end
end