spec/spec_helper.rb in dm-constraints-1.0.0.rc2 vs spec/spec_helper.rb in dm-constraints-1.0.0.rc3
- old
+ new
@@ -10,9 +10,10 @@
config.extend(DataMapper::Spec::Adapters::Helpers)
config.extend(DataMapper::Spec::Helpers)
config.before(:each) do
+ DataMapper.finalize
DataMapper.auto_migrate!
end
config.after :each do
DataMapper.send(:auto_migrate_down!, DataMapper::Spec.adapter.name)