Sha256: 34ffa520a6c76cfe179960dbfdedd19fa33d78d91e0bc7ecb987188f14cf7c90

Contents?: true

Size: 302 Bytes

Versions: 8

Compression:

Stored size: 302 Bytes

Contents

require 'factory_girl'

FactoryGirl.define do
  factory :address, :class => Effective::Address do
    category 'shipping'
    full_name 'Peter Pan'
    sequence(:address1) { |n| "1234#{n} Fake Street" }
    city 'San Antonio'
    state_code 'TX'
    country_code 'US'
    postal_code '92387'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
effective_addresses-1.0.6 spec/support/factories.rb
effective_addresses-1.0.5 spec/support/factories.rb
effective_addresses-1.0.4 spec/support/factories.rb
effective_addresses-1.0.3 spec/support/factories.rb
effective_addresses-1.0.2 spec/support/factories.rb
effective_addresses-1.0.1 spec/support/factories.rb
effective_addresses-1.0.0 spec/support/factories.rb
effective_addresses-0.1 spec/support/factories.rb