spec/property_spec.rb in langalex-couch_potato-0.1 vs spec/property_spec.rb in langalex-couch_potato-0.1.1
- old
+ new
@@ -1,7 +1,11 @@
require File.dirname(__FILE__) + '/spec_helper'
describe 'properties' do
+ before(:all) do
+ CouchPotato::Persistence.Db!
+ end
+
it "should return the property names" do
Comment.property_names.should == [:title, :commenter]
end
it "should persist a string" do
\ No newline at end of file