created CustomValue factory

pull/1186/head
Philipp Tessenow 12 years ago
parent bda05f1320
commit ba7001927d
  1. 16
      spec/factories/custom_value_factory.rb

@ -0,0 +1,16 @@
FactoryGirl.define do
factory :custom_value do
custom_field
value ""
factory :principal_custom_value do
custom_field :factory => :user_custom_field
customized :factory => :user
end
factory :issue_custom_value do
custom_field :factory => :issue_custom_field
customized :factory => :issue
end
end
end
Loading…
Cancel
Save