spec/public/to_json_spec.rb in dm-serializer-1.0.0.rc2 vs spec/public/to_json_spec.rb in dm-serializer-1.0.0.rc3
- old
+ new
@@ -4,9 +4,10 @@
#
# ==== ajaxy JSON
#
before(:all) do
+ DataMapper.finalize
DataMapper.auto_migrate!
query = DataMapper::Query.new(DataMapper::repository(:default), Cow)
keys = %w[ id composite name breed ]