Sha256: 6aa5092e52141b89904e70fea425b16911615fc2e59e799bf42d04b336e27f4c

Contents?: true

Size: 277 Bytes

Versions: 32

Compression:

Stored size: 277 Bytes

Contents

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

    initialize_with { new(guid, client) }
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
cfoundry-4.3.6 spec/factories/service_instances_factory.rb
cfoundry-4.3.5 spec/factories/service_instances_factory.rb
cfoundry-4.3.5.rc1 spec/factories/service_instances_factory.rb
cfoundry-4.3.4 spec/factories/service_instances_factory.rb
cfoundry-4.3.4.rc1 spec/factories/service_instances_factory.rb
cfoundry-4.3.3 spec/factories/service_instances_factory.rb
cfoundry-4.3.2.rc1 spec/factories/service_instances_factory.rb
cfoundry-4.3.1 spec/factories/service_instances_factory.rb
cfoundry-4.3.0 spec/factories/service_instances_factory.rb
cfoundry-4.2.0.rc spec/factories/service_instances_factory.rb
cfoundry-4.1.0 spec/factories/service_instances_factory.rb
cfoundry-4.0.4.rc2 spec/factories/service_instances_factory.rb