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/cost_entry_factory.rb

12 lines
281 B

FactoryGirl.define do
factory :cost_entry do
project
user { FactoryGirl.create(:user, :member_in_project => project)}
work_package { FactoryGirl.create(:work_package, :project => project) }
cost_type
spent_on Date.today
units 1
comments ''
end
end