test/test_helper.rb in activevalidators-1.7.0 vs test/test_helper.rb in activevalidators-1.7.1
- old
+ new
@@ -19,10 +19,10 @@
class TestRecord
include ActiveModel::Validations
attr_accessor :ip, :url, :slug, :responder, :global_condition,
:local_condition, :phone, :email, :card, :password, :twitter_username,
- :postal_code, :carrier, :tracking_number
+ :postal_code, :carrier, :tracking_number, :start_date, :end_date
def initialize(attrs = {})
attrs.each_pair { |k,v| send("#{k}=", v) }
end
end