OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/spec/factories/varibale_cost_object_factor...

10 lines
300 B

FactoryGirl.define do
factory :variable_cost_object do
association :project, :factory => :project
sequence(:subject) { |n| "Cost Object No. #{n}" }
sequence(:description) { |n| "I am a Cost Object No. #{n}" }
association :author, :factory => :user
fixed_date Time.now
end
end