Sha256: f4305c505e6a995c032222f0ec9f08710e79a2b90d79062255395f8e9158654f

Contents?: true

Size: 171 Bytes

Versions: 9

Compression:

Stored size: 171 Bytes

Contents

FactoryGirl.define do
  factory :chart, :class => ESA::Chart do
    id 1
    name "Chart of Accounts"
    initialize_with { ESA::Chart.find_or_create_by_id(id)}
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
event_sourced_accounting-0.2.6 spec/factories/chart_factory.rb
event_sourced_accounting-0.2.4 spec/factories/chart_factory.rb
event_sourced_accounting-0.2.3 spec/factories/chart_factory.rb
event_sourced_accounting-0.2.2 spec/factories/chart_factory.rb
event_sourced_accounting-0.1.6 spec/factories/chart_factory.rb
event_sourced_accounting-0.1.4 spec/factories/chart_factory.rb
event_sourced_accounting-0.1.3 spec/factories/chart_factory.rb
event_sourced_accounting-0.1.1 spec/factories/chart_factory.rb
event_sourced_accounting-0.1.0 spec/factories/chart_factory.rb