summaryrefslogtreecommitdiff
path: root/spec/factories/project_custom_attributes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/project_custom_attributes.rb')
-rw-r--r--spec/factories/project_custom_attributes.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/project_custom_attributes.rb b/spec/factories/project_custom_attributes.rb
new file mode 100644
index 00000000000..5eedeb86304
--- /dev/null
+++ b/spec/factories/project_custom_attributes.rb
@@ -0,0 +1,7 @@
+FactoryGirl.define do
+ factory :project_custom_attribute do
+ project
+ sequence(:key) { |n| "key#{n}" }
+ sequence(:value) { |n| "value#{n}" }
+ end
+end