spec/destroy_spec.rb in langalex-couch_potato-0.1 vs spec/destroy_spec.rb in langalex-couch_potato-0.1.1

- old
+ new

@@ -1,7 +1,11 @@ require File.dirname(__FILE__) + '/spec_helper' describe 'destroy' do + before(:all) do + CouchPotato::Persistence.Db! + end + before(:each) do @comment = Comment.create! :title => 'title' @comment_id = @comment.id @comment.destroy end \ No newline at end of file