spec/fixtures/profile.rb in snusnu-dm-accepts_nested_attributes-0.0.2 vs spec/fixtures/profile.rb in snusnu-dm-accepts_nested_attributes-0.0.3
- old
+ new
@@ -1,7 +1,7 @@
class Profile
include DataMapper::Resource
property :id, Serial
property :person_id, Integer, :nullable => false
- property :nick, String
+ property :nick, String, :nullable => false
belongs_to :person
end
\ No newline at end of file