removed CouchRest::Model, added more specs and fixed a bug with casted CR::ExtendedDocument
This commit is contained in:
parent
72542dc876
commit
fe489f2d38
15 changed files with 740 additions and 1528 deletions
|
@ -704,7 +704,7 @@ describe CouchRest::Database do
|
|||
describe "creating a database" do
|
||||
before(:each) do
|
||||
@db = @cr.database('couchrest-test-db_to_create')
|
||||
@db.delete!
|
||||
@db.delete! if @cr.databases.include?('couchrest-test-db_to_create')
|
||||
end
|
||||
|
||||
it "should just work fine" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue