Sha256: 95dc8e8eaf904ef655deb23f54d7c35a19f09cbbc28427a869c3c5f3ae992af3

Contents?: true

Size: 244 Bytes

Versions: 20

Compression:

Stored size: 244 Bytes

Contents

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

    initialize_with { new(guid, client) }
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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