Sha256: 8d1db203f5be8e1005dcd680698e521b5bc1f8f4fe95be7c8208a3c0c925322d
Contents?: true
Size: 834 Bytes
Versions: 30
Compression:
Stored size: 834 Bytes
Contents
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :mno_enterprise_credit_card, :class => 'CreditCard' do factory :credit_card, class: MnoEnterprise::CreditCard do sequence(:id) organization_id 265 created_at 3.days.ago updated_at 1.hour.ago title 'Mr.' first_name 'John' last_name 'Doe' country 'AU' masked_number 'XXXX-XXXX-XXXX-4242' number nil month 3 year 2025 billing_address '102 Somewhere Street' billing_city 'Sydney' billing_postcode '2010' billing_country 'AU' verification_value 'CVV' # Properly build the resource with Her initialize_with { new(attributes).tap { |e| e.clear_attribute_changes! } } end end end
Version data entries
30 entries across 30 versions & 1 rubygems