Sha256: 975a91a3bb27fa50bfa1eaefe5ef4190a7ef482490056f0e4425d8b10de3ee4d

Contents?: true

Size: 268 Bytes

Versions: 73

Compression:

Stored size: 268 Bytes

Contents

FactoryGirl.define do
  factory :quota_definition, :class => CFoundry::V2::QuotaDefinition do
    sequence(:name) { |n| "quota-definition-name-#{n}" }
    sequence(:guid) { |n| "quota-definition-guid-#{n}" }

    initialize_with { new(guid, build(:client)) }
  end
end

Version data entries

73 entries across 73 versions & 3 rubygems

Version Path
cfoundry-2.3.3 spec/factories/quota_definitions_factory.rb
cfoundry-2.3.2 spec/factories/quota_definitions_factory.rb
cfoundry-2.3.1 spec/factories/quota_definitions_factory.rb
cfoundry-2.3.0 spec/factories/quota_definitions_factory.rb
cfoundry-2.2.0rc3 spec/factories/quota_definitions_factory.rb
cfoundry-2.2.0.rc2 spec/factories/quota_definitions_factory.rb
cfoundry-2.2.0.rc1 spec/factories/quota_definitions_factory.rb
cfoundry-2.1.2.rc1 spec/factories/quota_definitions_factory.rb
cfoundry-2.1.1 spec/factories/quota_definitions_factory.rb
cfoundry-2.1.0 spec/factories/quota_definitions_factory.rb
cfoundry-2.0.2 spec/factories/quota_definitions_factory.rb
cfoundry-2.0.1.rc1 spec/factories/quota_definitions_factory.rb
cfoundry-2.0.0 spec/factories/quota_definitions_factory.rb