fixed a failing spec

This commit is contained in:
Matt Aimonetti 2009-08-24 17:36:33 -07:00
parent ccdf9d779a
commit e878234bd6

View file

@ -552,7 +552,7 @@ describe CouchRest::Database do
newdoc['artist'].should == 'Zappa'
end
it "should fail without an _id" do
lambda{@db.copy({"not"=>"a real doc"})}.should raise_error(ArgumentError)
lambda{@db.copy_doc({"not"=>"a real doc"})}.should raise_error(ArgumentError)
end
end
describe "to an existing location" do