spec/fixtures/planet.rb in dm-serializer-0.10.2 vs spec/fixtures/planet.rb in dm-serializer-1.0.0.rc1

- old
+ new

@@ -2,10 +2,10 @@ include DataMapper::Resource property :name, String, :key => true property :aphelion, Float - validates_length :name, :min => 2 + validates_length_of :name, :min => 2 # Sorry these associations don't make any sense # I just needed a many-to-many association to test against has n, :friended_planets has n, :friend_planets, :through => :friended_planets, :model => 'Planet'