diff options
author | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-20 21:20:50 +0200 |
---|---|---|
committer | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-24 12:56:33 +0200 |
commit | 9d7971c19b54d0e984c2f38045345f46a7d9d47d (patch) | |
tree | 74cdf4fc4f61efbdbee2b8d0e15e274820476102 /spec | |
parent | 39b313ba5f22dc265afe33e1f1e2d3d37d373678 (diff) | |
download | gitlab-ce-9d7971c19b54d0e984c2f38045345f46a7d9d47d.tar.gz |
Remove unused `IssuesHelper#merge_requests_sentence`
Its last usage has been removed at eb3e7bdfd8.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/issues_helper_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/helpers/issues_helper_spec.rb b/spec/helpers/issues_helper_spec.rb index dc3100311f8..ddf881a7b6f 100644 --- a/spec/helpers/issues_helper_spec.rb +++ b/spec/helpers/issues_helper_spec.rb @@ -58,16 +58,6 @@ describe IssuesHelper do end end - describe "merge_requests_sentence" do - subject { merge_requests_sentence(merge_requests)} - let(:merge_requests) do - [build(:merge_request, iid: 1), build(:merge_request, iid: 2), - build(:merge_request, iid: 3)] - end - - it { is_expected.to eq("!1, !2, or !3") } - end - describe '#award_user_list' do it "returns a comma-separated list of the first X users" do user = build_stubbed(:user, name: 'Joe') |