mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Use sequence in label factory to get around uniqueness error
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :label do
|
||||
title "Bug"
|
||||
sequence(:title) { |n| "bug-#{n}" }
|
||||
color "#990000"
|
||||
project
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user