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 @@ ...@@ -15,7 +15,7 @@
FactoryGirl.define do FactoryGirl.define do
factory :label do factory :label do
title "Bug" sequence(:title) { |n| "bug-#{n}" }
color "#990000" color "#990000"
project project
end 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