Sha256: 1f108b7f7451065e25123d7d5347a31ce1756906d0d78d54ca6c0f105f5ead83

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

FactoryGirl.define do
  factory :service_plan, :class => CFoundry::V2::ServicePlan do
    sequence(:guid) { |n| "service-plan-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/service_plans_factory.rb
ncfoundry-4.9.4 spec/factories/service_plans_factory.rb
ncfoundry-4.9.3 spec/factories/service_plans_factory.rb
ncfoundry-4.9.2 spec/factories/service_plans_factory.rb
new_cfoundry-4.9.2 spec/factories/service_plans_factory.rb
new_cfoundry-4.9.1 spec/factories/service_plans_factory.rb
new_cfoundry-4.9.0 spec/factories/service_plans_factory.rb
new_cfoundry-4.8.3 spec/factories/service_plans_factory.rb
new_cfoundry-4.8.2 spec/factories/service_plans_factory.rb