Sha256: 792a7fad09e2f43a15882e292b13c87bc3d245a2e90ceb9f15f7fae8c56d4058

Contents?: true

Size: 258 Bytes

Versions: 44

Compression:

Stored size: 258 Bytes

Contents

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

    initialize_with { new(guid, client) }
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
cfoundry-4.0.0 spec/factories/service_plans_factory.rb
cfoundry-3.0.1 spec/factories/service_plans_factory.rb
cfoundry-3.0.0 spec/factories/service_plans_factory.rb
cfoundry-2.4.1.rc1 spec/factories/service_plans_factory.rb