Sha256: 531948edea0b0309d8d6e723a8b532efd3c138933a2a1ae9d49238246bcf0b78

Contents?: true

Size: 234 Bytes

Versions: 64

Compression:

Stored size: 234 Bytes

Contents

FactoryGirl.define do
  factory :user, :class => CFoundry::V2::User do
    sequence(:guid) { |n| "user-guid-#{n}" }
    ignore do
      client { FactoryGirl.build(:client) }
    end

    initialize_with { new(guid, client) }
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
cfoundry-4.7.2.rc1 spec/factories/users_factory.rb
cfoundry-4.7.1 spec/factories/users_factory.rb
cfoundry-4.7.1.rc1 spec/factories/users_factory.rb
cfoundry-4.7.0 spec/factories/users_factory.rb
cfoundry-4.6.3.rc3 spec/factories/users_factory.rb
cfoundry-4.6.3.rc2 spec/factories/users_factory.rb
cfoundry-4.6.3.rc1 spec/factories/users_factory.rb
cfoundry-4.6.2 spec/factories/users_factory.rb
cfoundry-4.6.1 spec/factories/users_factory.rb
cfoundry-4.6.0 spec/factories/users_factory.rb
cfoundry-4.5.3 spec/factories/users_factory.rb
cfoundry-4.5.2 spec/factories/users_factory.rb
cfoundry-4.5.1 spec/factories/users_factory.rb
cfoundry-4.5.0 spec/factories/users_factory.rb
cfoundry-4.3.12 spec/factories/users_factory.rb
cfoundry-4.3.11 spec/factories/users_factory.rb
cfoundry-4.3.10 spec/factories/users_factory.rb
cfoundry-4.3.9 spec/factories/users_factory.rb
cfoundry-4.3.8 spec/factories/users_factory.rb
cfoundry-4.3.7 spec/factories/users_factory.rb