test/helper.rb in property_sets-0.4.0 vs test/helper.rb in property_sets-0.4.1

- old
+ new

@@ -44,8 +44,14 @@ property_set :texts do property :foo property :bar end - accepts_nested_attributes_for :texts + + property_set :validations do + property :validated + property :regular + + validates_format_of :value, :with => /\d+/, :message => "BEEP", :if => lambda { |r| r.name.to_sym == :validated } + end end