Sha256: 06163834b593d40a4147769e1e09a0d7d38f0cbe200c8a18224a23331ff1c580

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

FactoryGirl.define do

  factory :connection_link, :class => Chouette::ConnectionLink do
    sequence(:name) { |n| "Connection link #{n}" }
    sequence(:link_type) { |n| "Mixed" }
    sequence(:objectid) { |n| "test:ConnectionLink:#{n}" }

    association :departure, :factory => :stop_area
    association :arrival, :factory => :stop_area
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ninoxe-1.2.3 spec/factories/chouette_connection_links.rb
ninoxe-1.2.0 spec/factories/chouette_connection_links.rb