summaryrefslogtreecommitdiff
path: root/spec/factories/label_priorities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/label_priorities.rb')
-rw-r--r--spec/factories/label_priorities.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/label_priorities.rb b/spec/factories/label_priorities.rb
new file mode 100644
index 00000000000..f25939d2d3e
--- /dev/null
+++ b/spec/factories/label_priorities.rb
@@ -0,0 +1,7 @@
+FactoryGirl.define do
+ factory :label_priority do
+ project factory: :empty_project
+ label
+ sequence(:priority)
+ end
+end