Sha256: 25273e9c15b7416e6fca156c3394b00a7b0ec064fea724d7e24d7a7ae58e508c

Contents?: true

Size: 312 Bytes

Versions: 12

Compression:

Stored size: 312 Bytes

Contents

FactoryGirl.define do
  factory :route, :class => CFoundry::V2::Route do
    guid { FactoryGirl.generate(:guid) }
    host { FactoryGirl.generate(:random_string) }
    association :domain, :factory => :domain, :strategy => :build

    initialize_with do
      CFoundry::V2::Route.new(nil, nil)
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
cfoundry-0.4.16 spec/factories/route_factory.rb
cfoundry-0.4.15 spec/factories/route_factory.rb
cfoundry-0.4.14 spec/factories/route_factory.rb
cfoundry-0.4.13 spec/factories/route_factory.rb
cfoundry-0.4.12 spec/factories/route_factory.rb
cfoundry-0.4.11 spec/factories/route_factory.rb
vmc-0.5.0.beta.1 spec/factories/route_factory.rb
vmc-0.4.7 spec/factories/route_factory.rb
vmc-0.4.6 spec/factories/route_factory.rb
vmc-0.4.5 spec/factories/route_factory.rb
vmc-0.4.4 spec/factories/route_factory.rb
vmc-0.4.3 spec/factories/route_factory.rb