Sha256: 348ce29f12468b1bf6f22acb3189b65144bedec78c8ad1987e6a40dfe47d7585

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

FactoryGirl.define do
  
  factory :access_link, :class => Chouette::AccessLink do
    sequence(:name) { |n| "Access link #{n}" }
    sequence(:objectid) { |n| "test:AccessLink:#{n}" }
    link_type "Mixed" 
    link_orientation "AccessPointToStopArea"

    association :stop_area, :factory => :stop_area
    association :access_point, :factory => :access_point
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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