on the road toward design docs
This commit is contained in:
parent
04e818c154
commit
0769c2690f
10 changed files with 454 additions and 189 deletions
|
@ -215,7 +215,7 @@ describe CouchRest::Database do
|
|||
r2["lemons"].should == "from texas"
|
||||
end
|
||||
it "should use PUT with UUIDs" do
|
||||
CouchRest.should_receive(:put)
|
||||
CouchRest.should_receive(:put).and_return({"ok" => true, "id" => "100", "rev" => "55"})
|
||||
r = @db.save({'just' => ['another document']})
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue