Permalink
Browse files

Finalize the models before using them

  • Loading branch information...
1 parent 5088e61 commit b5bccc97869507c073598888734cb4db5a5c71ef @dkubb dkubb committed Jul 28, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/adapter_spec.rb
View
@@ -20,6 +20,8 @@ class ::Photo
property :uuid, String, :default => proc { UUIDTools::UUID.random_create }, :key => true
property :happy, Boolean, :default => true
end
+
+ DataMapper.finalize
end
after do

0 comments on commit b5bccc9

Please sign in to comment.