test/test_helper.rb in activevalidators-3.1.2 vs test/test_helper.rb in activevalidators-3.2.0
- old
+ new
@@ -12,10 +12,11 @@
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, :start_date, :end_date, :siren, :ssn, :sin, :nino, :barcode
+ :postal_code, :carrier, :tracking_number, :start_date, :end_date, :siren, :ssn, :sin, :nino, :barcode,
+ :text_color, :redirect_rule
def initialize(attrs = {})
attrs.each_pair { |k,v| send("#{k}=", v) }
end
end