spec/spec_helper.rb in dm-parse-0.1.0 vs spec/spec_helper.rb in dm-parse-0.2.0
- old
+ new
@@ -27,10 +27,11 @@
class User
include DataMapper::Resource
is :parse_user
storage_names[:master] = "_User"
+ property :location, ParseGeoPoint
end
class Article
include DataMapper::Resource
@@ -38,9 +39,10 @@
property :title, String
property :body, Text
property :rank, Integer
property :closed_at, ParseDate
+ property :attachment, ParseFile
has n, :comments
end
class Comment