Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 18:10:15 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 18:10:15 +0400
commit03654a6abf47c88b8b980a6707874ff78080d2fe (patch)
treec5ba2dba7f0685dd6c5e656a50f70400a746b23e /spec/factories/labels.rb
parent535feb08ce90352c89799df5e3e70a10e53ee10d (diff)
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/factories/labels.rb')
-rw-r--r--spec/factories/labels.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/labels.rb b/spec/factories/labels.rb
new file mode 100644
index 00000000000..af9f3efa641
--- /dev/null
+++ b/spec/factories/labels.rb
@@ -0,0 +1,9 @@
+# Read about factories at https://github.com/thoughtbot/factory_girl
+
+FactoryGirl.define do
+ factory :label do
+ title "Bug"
+ color "#990000"
+ project
+ end
+end