Commit 4375b65f authored by Douwe Maan's avatar Douwe Maan

Use sequence in label factory to get around uniqueness error

parent f65a4af3
......@@ -15,7 +15,7 @@
FactoryGirl.define do
factory :label do
title "Bug"
sequence(:title) { |n| "bug-#{n}" }
color "#990000"
project
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment