Sha256: 4cd65c996b92052b6453f37bf47c4377c93dc4c7538f8e0d5efafa7f6dd1a8cb

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

FactoryGirl.define do

  factory  :group_of_line, :class => Chouette::GroupOfLine do
    sequence(:name) { |n| "Group Of Line #{n}" }
    sequence(:objectid) { |n| "test:GroupOfLine:#{n}" }
    sequence(:registration_number) { |n| "#{n}" }
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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