Sha256: af6e5769fd67c1de9fcfc427fbeade1b00823b1e92028b9b9e3edadc5d3a6cbb

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

require 'factory_girl_rails'

FactoryGirl.define do
  factory :g5_authenticatable_user, :class => 'G5Authenticatable::User' do
    sequence(:email) { |n| "test.user#{n}@test.host" }
    provider 'g5'
    sequence(:uid) { |n| "abc123-#{n}" }
    sequence(:g5_access_token) { |n| "secret_token_#{n}" }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
g5_authenticatable-0.4.2 lib/g5_authenticatable/test/factory.rb
g5_authenticatable-0.4.1 lib/g5_authenticatable/test/factory.rb
g5_authenticatable-0.4.0 lib/g5_authenticatable/test/factory.rb
g5_authenticatable-0.3.0 lib/g5_authenticatable/test/factory.rb