Sha256: 076255126838e913c2ee69332e33c24b7a36a8b11db4fe1388f4386729b3b1b8

Contents?: true

Size: 267 Bytes

Versions: 9

Compression:

Stored size: 267 Bytes

Contents

FactoryGirl.define do
  factory :app, :class => CFoundry::V2::App do
    sequence(:guid) { |n| "app-guid-#{n}" }
    transient do
      manifest { {} }
      client { FactoryGirl.build(:client) }
    end

    initialize_with { new(guid, client, manifest) }
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
new_cfoundry-4.9.3 spec/factories/apps_factory.rb
ncfoundry-4.9.4 spec/factories/apps_factory.rb
ncfoundry-4.9.3 spec/factories/apps_factory.rb
ncfoundry-4.9.2 spec/factories/apps_factory.rb
new_cfoundry-4.9.2 spec/factories/apps_factory.rb
new_cfoundry-4.9.1 spec/factories/apps_factory.rb
new_cfoundry-4.9.0 spec/factories/apps_factory.rb
new_cfoundry-4.8.3 spec/factories/apps_factory.rb
new_cfoundry-4.8.2 spec/factories/apps_factory.rb