summaryrefslogtreecommitdiff
path: root/spec/factories/labels.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/labels.rb')
-rw-r--r--spec/factories/labels.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/factories/labels.rb b/spec/factories/labels.rb
index 8b12ee11af5..ea2be8928d5 100644
--- a/spec/factories/labels.rb
+++ b/spec/factories/labels.rb
@@ -11,11 +11,9 @@
# template :boolean default(FALSE)
#
-# Read about factories at https://github.com/thoughtbot/factory_girl
-
FactoryGirl.define do
factory :label do
- title "Bug"
+ sequence(:title) { |n| "label#{n}" }
color "#990000"
project
end