Sha256: 72fdcb89bcec986401257c593530b136a3933e7581d1076afd04e407a4093e84

Contents?: true

Size: 340 Bytes

Versions: 52

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :oauth_client, class: Osso::Models::OauthClient do
    id { SecureRandom.uuid }
    name { Faker::Internet.domain_name }
    after(:create) do |client|
      create(:primary_redirect_uri, oauth_client: client)
      create(:redirect_uri, oauth_client: client)
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
osso-0.1.2 spec/factories/oauth_client.rb
osso-0.1.1 spec/factories/oauth_client.rb
osso-0.1.0 spec/factories/oauth_client.rb
osso-0.0.11 spec/factories/oauth_client.rb
osso-0.0.10 spec/factories/oauth_client.rb
osso-0.0.8 spec/factories/oauth_client.rb
osso-0.0.7 spec/factories/oauth_client.rb
osso-0.0.6 spec/factories/oauth_client.rb
osso-0.0.6.alpha spec/factories/oauth_client.rb
osso-0.0.5 spec/factories/oauth_client.rb
osso-0.0.5.pre.lambda spec/factories/oauth_client.rb
osso-0.0.5.pre.kappa spec/factories/oauth_client.rb
osso-0.0.5.pre.iota spec/factories/oauth_client.rb
osso-0.0.5.pre.theta spec/factories/oauth_client.rb
osso-0.0.5.pre.eta spec/factories/oauth_client.rb
osso-0.0.5.pre.zeta spec/factories/oauth_client.rb
osso-0.0.5.pre.epsilon spec/factories/oauth_client.rb
osso-0.0.5.pre.delta spec/factories/oauth_client.rb
osso-0.0.5.pre.gamma spec/factories/oauth_client.rb
osso-0.0.5.pre.beta spec/factories/oauth_client.rb