Sha256: a558f0dd25ec21c25a2ff2ffef53ea701bb940f412e90c9bac0748ee94e118a8

Contents?: true

Size: 271 Bytes

Versions: 6

Compression:

Stored size: 271 Bytes

Contents

FactoryGirl.define do
  factory :route, :class => CFoundry::V2::Route do
    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

6 entries across 6 versions & 1 rubygems

Version Path
vmc-0.4.2 spec/factories/route_factory.rb
vmc-0.4.1 spec/factories/route_factory.rb
vmc-0.4.0 spec/factories/route_factory.rb
vmc-0.4.0.beta.97 vmc-ng/spec/factories/route_factory.rb
vmc-0.4.0.beta.96 vmc-ng/spec/factories/route_factory.rb
vmc-0.4.0.beta.94 vmc-ng/spec/factories/route_factory.rb