Sha256: 35553d900996778db04b46090a25b0298c80dd2e0249de34e2ef0f436a40dd52

Contents?: true

Size: 263 Bytes

Versions: 64

Compression:

Stored size: 263 Bytes

Contents

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

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

Version data entries

64 entries across 64 versions & 1 rubygems

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