Sha256: 3533137ec39ae3ecea25d8ea90f1886792ef2c7b18251e7406a14a390492881c

Contents?: true

Size: 345 Bytes

Versions: 10

Compression:

Stored size: 345 Bytes

Contents

FactoryGirl.define do
  factory :operation_template, class: 'RailsWorkflow::OperationTemplate' do
    title "Operation Template"
    kind 'default'
    is_background true
    association :process_template, factory: :process_template

    factory :parent_operation_template do
      child_process { create :process_template }
    end
  end


end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_workflow-0.3.7 spec/factories/operation_templates.rb
rails_workflow-0.3.6 spec/factories/operation_templates.rb
rails_workflow-0.3.5 spec/factories/operation_templates.rb
rails_workflow-0.3.4 spec/factories/operation_templates.rb
rails_workflow-0.3.3 spec/factories/operation_templates.rb
rails_workflow-0.3.2 spec/factories/operation_templates.rb
rails_workflow-0.3.1 spec/factories/operation_templates.rb
rails_workflow-0.3.0 spec/factories/operation_templates.rb
rails_workflow-0.2.2 spec/factories/operation_templates.rb
rails_workflow-0.2.1 spec/factories/operation_templates.rb