spec/versioning_spec.rb in langalex-couch_potato-0.1 vs spec/versioning_spec.rb in langalex-couch_potato-0.1.1
- old
+ new
@@ -19,9 +19,10 @@
validates_presence_of :title
end
before(:each) do
CouchPotato::Persistence.Db.delete!
+ CouchPotato::Persistence.Db!
end
describe "create" do
it "should not create a version" do
Document.create! :title => 'first doc'
\ No newline at end of file