diff options
author | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-04-05 18:59:46 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-04-06 10:56:21 +0100 |
commit | f16377e7dc762462817dd0b34e36811c55988b10 (patch) | |
tree | 0c2848cee6743f0648e2c3d9361d201aca7fbf1a /spec/models/protectable_dropdown_spec.rb | |
parent | 18506d4b8b8bc780b3b1e4c61339af38b5c49bb2 (diff) | |
download | gitlab-ce-f16377e7dc762462817dd0b34e36811c55988b10.tar.gz |
Protected Tags backend review changes
Added changelog
Diffstat (limited to 'spec/models/protectable_dropdown_spec.rb')
-rw-r--r-- | spec/models/protectable_dropdown_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/protectable_dropdown_spec.rb b/spec/models/protectable_dropdown_spec.rb index 7f8ef7195e5..4c9bade592b 100644 --- a/spec/models/protectable_dropdown_spec.rb +++ b/spec/models/protectable_dropdown_spec.rb @@ -18,6 +18,7 @@ describe ProtectableDropdown, models: true do create(:protected_branch, name: 'feat*', project: project) subject = described_class.new(project.reload, :branches) + expect(subject.protectable_ref_names).to include('feature') end end |