From e878234bd67dceb9bb466018bd7fe6e3e0e1acaa Mon Sep 17 00:00:00 2001 From: Matt Aimonetti Date: Mon, 24 Aug 2009 17:36:33 -0700 Subject: [PATCH] fixed a failing spec --- spec/couchrest/core/database_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/couchrest/core/database_spec.rb b/spec/couchrest/core/database_spec.rb index 4bfc1c9..ff7982f 100644 --- a/spec/couchrest/core/database_spec.rb +++ b/spec/couchrest/core/database_spec.rb @@ -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