Sha256: 94afe3259109b5937e7e086eea568cc0496c98f804218bc472a00bb962980653

Contents?: true

Size: 209 Bytes

Versions: 2

Compression:

Stored size: 209 Bytes

Contents

FactoryGirl.define do

  factory :footnote, :class => Chouette::Footnote do
    sequence(:code) { |n| "#{n}" }
    sequence(:label) { |n| "footnote #{n}" }
    association :line, :factory => :line
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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