# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :user do
    sequence(:email) { |n| "test#{n}@test.com" }
    name     "Teddy Widom"
    password "password"
  end
end

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :user do
    sequence(:email) { |n| "test#{n}@test.com" }
    name     "Teddy Widom"
    password "password"
    default_currency ExchangeRate::CURRENCIES.sample
  end
end

Make default currency vary in user factory
Make default currency vary in user factory
