fixed ddoc names on get

This commit is contained in:
Chris Anderson 2009-01-12 19:50:00 -08:00
parent 9c13b003b3
commit d1f8970c84
3 changed files with 12 additions and 6 deletions

View file

@ -74,7 +74,7 @@ describe CouchRest::Design do
@des = @db.get "_design/test"
end
it "should be a Design" do
@des.should be_an_instance_of CouchRest::Design
@des.should be_an_instance_of(CouchRest::Design)
end
it "should have a modifiable name" do
@des.name.should == "test"