diff options
author | Rémy Coutable <remy@rymai.me> | 2016-03-01 19:33:13 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-03-15 20:22:02 +0300 |
commit | 54ec7e959900493b6e9174bf4dfe09ed0afd1e46 (patch) | |
tree | 22b79458e9d5ad2aa8ccf7ae00935c9a14aae33c /spec/factories | |
parent | 0444fa560acd07255960284f19b1de6499cd5910 (diff) |
Improving the original label-subscribing implementation
1. Make the "subscribed" text in Issuable sidebar reflect the labels
subscription status
2. Current user mut be logged-in to toggle issue/MR/label subscription
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/labels.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/labels.rb b/spec/factories/labels.rb index 91a7400afa1..ea2be8928d5 100644 --- a/spec/factories/labels.rb +++ b/spec/factories/labels.rb @@ -13,7 +13,7 @@ FactoryGirl.define do factory :label do - title { FFaker::Color.name } + sequence(:title) { |n| "label#{n}" } color "#990000" project end |