Sha256: fe685023ecce71302ec452577b69d783388b91eddae34723356bcc65ed0255e7

Contents?: true

Size: 330 Bytes

Versions: 7

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

FactoryGirl.define do
  factory :admin do
    sequence(:email) { |n| "admin.#{n}@test.host" }
    password 'my_new_secret'
    password_confirmation 'my_new_secret'
    provider 'g5'
    sequence(:uid) { |n| "remote-admin-#{n}" }
    sequence(:g5_access_token) { |n| "token-abc123-#{n}" }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise_g5_authenticatable-1.0.3 spec/factories/admin.rb
devise_g5_authenticatable-1.0.2.rc.3 spec/factories/admin.rb
devise_g5_authenticatable-1.0.2.rc.2 spec/factories/admin.rb
devise_g5_authenticatable-1.0.2.rc.1 spec/factories/admin.rb
devise_g5_authenticatable-1.0.1.rc.1 spec/factories/admin.rb
devise_g5_authenticatable-1.0.0 spec/factories/admin.rb
devise_g5_authenticatable-1.0.0.pre.1 spec/factories/admin.rb