test/helper.rb in property_sets-0.5.3 vs test/helper.rb in property_sets-0.5.4
- old
+ new
@@ -52,6 +52,13 @@
property :validated
property :regular
validates_format_of :value, :with => /\d+/, :message => "BEEP", :if => lambda { |r| r.name.to_sym == :validated }
end
+
+ property_set :typed_data do
+ property :string_prop, :type => :string
+ property :datetime_prop, :type => :datetime
+ property :float_prop, :type => :float
+ property :int_prop, :type => :integer
+ end
end