Sha256: 51606444679bba6ff9d1996c5625e991b0288eee6805c16232807d6bcf4f50ff

Contents?: true

Size: 241 Bytes

Versions: 9

Compression:

Stored size: 241 Bytes

Contents

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