Sha256: 3f64767a576d8ff29c4114b1a58ca6f3b1ae6ad21d2eac79dec6d5a46c136153

Contents?: true

Size: 237 Bytes

Versions: 64

Compression:

Stored size: 237 Bytes

Contents

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

    initialize_with { new(guid, client) }
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
cfoundry-2.1.0 spec/factories/spaces_factory.rb
cfoundry-2.0.2 spec/factories/spaces_factory.rb
cfoundry-2.0.1.rc1 spec/factories/spaces_factory.rb
cfoundry-2.0.0 spec/factories/spaces_factory.rb