Sha256: 883d295731e68d8db7f16aae18b252981d28b26300561da3128537201d9e18b5

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

FactoryGirl.define do
  factory :openstax_accounts_account, class: OpenStax::Accounts::Account do
    openstax_uid { -SecureRandom.hex(4).to_i(16)/2 }
    username     { SecureRandom.hex.to_s }
    access_token { SecureRandom.hex.to_s }
    faculty_status { OpenStax::Accounts::Account.faculty_statuses[:no_faculty_info] }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openstax_accounts-7.3.0 spec/factories/openstax_accounts_account.rb
openstax_accounts-7.2.0 spec/factories/openstax_accounts_account.rb
openstax_accounts-7.1.0 spec/factories/openstax_accounts_account.rb
openstax_accounts-7.0.1 spec/factories/openstax_accounts_account.rb
openstax_accounts-7.0.0 spec/factories/openstax_accounts_account.rb