Sha256: 167a763341765919e746ba05f7c995d2dc59298a545ff9964ec41c2152c72e18

Contents?: true

Size: 255 Bytes

Versions: 7

Compression:

Stored size: 255 Bytes

Contents

FactoryGirl.define do
  factory :identity, class: MnoEnterprise::Identity do
    provider 'someprovider'
    uid '123456'

    # Properly build the resource with Her
    initialize_with { new(attributes).tap { |e| e.clear_attribute_changes! } }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mno-enterprise-core-3.4.0 lib/mno_enterprise/testing_support/factories/identity.rb
mno-enterprise-core-3.3.3 lib/mno_enterprise/testing_support/factories/identity.rb
mno-enterprise-core-3.3.2 lib/mno_enterprise/testing_support/factories/identity.rb
mno-enterprise-core-3.2.1 lib/mno_enterprise/testing_support/factories/identity.rb
mno-enterprise-core-3.3.1 lib/mno_enterprise/testing_support/factories/identity.rb
mno-enterprise-core-3.3.0 lib/mno_enterprise/testing_support/factories/identity.rb
mno-enterprise-core-3.2.0 lib/mno_enterprise/testing_support/factories/identity.rb