spec/spec_helper.rb in dm-deep_cloning-1.0.2 vs spec/spec_helper.rb in dm-deep_cloning-1.0.3

- old
+ new

@@ -25,18 +25,24 @@ # classes/vars for tests class Post include DataMapper::Resource property :id, Serial + property :type, Discriminator + property :author, String property :title, String property :text, Text timestamps :at belongs_to :blog has n, :comments has n, :related_posts, "Post", :through => Resource +end + +class SpecialPost < Post + property :secret, String end class Blog include DataMapper::Resource property :id, Serial \ No newline at end of file