summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-14 16:12:07 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:27 -0200
commit297892011330ecdd2fa7cbe47fbc6fd4f3b62171 (patch)
tree6cbbb21eae4f3fa3d28b33599a0ea87fbf0f34ec /spec/factories
parentde9d3915d249a59e65226f6dd2ebe1f50a47306e (diff)
downloadgitlab-ce-297892011330ecdd2fa7cbe47fbc6fd4f3b62171.tar.gz
Add LabelPriority model
Diffstat (limited to 'spec/factories')
-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