Sha256: 2c70ad2f9c2f6955f8a6e0f15398f392ec0ffe49456109b0f9e8045c3107bedd

Contents?: true

Size: 247 Bytes

Versions: 9

Compression:

Stored size: 247 Bytes

Contents

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

    initialize_with { new(guid, client) }
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
new_cfoundry-4.9.3 spec/factories/services_factory.rb
ncfoundry-4.9.4 spec/factories/services_factory.rb
ncfoundry-4.9.3 spec/factories/services_factory.rb
ncfoundry-4.9.2 spec/factories/services_factory.rb
new_cfoundry-4.9.2 spec/factories/services_factory.rb
new_cfoundry-4.9.1 spec/factories/services_factory.rb
new_cfoundry-4.9.0 spec/factories/services_factory.rb
new_cfoundry-4.8.3 spec/factories/services_factory.rb
new_cfoundry-4.8.2 spec/factories/services_factory.rb