Sha256: 8c4f39841cc95be16b97040a95c9fb50865700920e4f28e626e366d4485c348c

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

FactoryGirl.define do
  factory :openstax_accounts_account, :class => OpenStax::Accounts::Account do
    openstax_uid { -SecureRandom.hex.to_i(16) }
    username     { SecureRandom.hex.to_s }
    access_token { SecureRandom.hex.to_s }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openstax_accounts-3.1.1 spec/factories/openstax_accounts_account.rb
openstax_accounts-3.1.0 spec/factories/openstax_accounts_account.rb
openstax_accounts-3.0.0 spec/factories/openstax_accounts_account.rb