diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /spec/finders/branches_finder_spec.rb | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'spec/finders/branches_finder_spec.rb')
-rw-r--r-- | spec/finders/branches_finder_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/finders/branches_finder_spec.rb b/spec/finders/branches_finder_spec.rb index 11b7ab08fb2..9314f616c44 100644 --- a/spec/finders/branches_finder_spec.rb +++ b/spec/finders/branches_finder_spec.rb @@ -181,17 +181,17 @@ RSpec.describe BranchesFinder do it 'filters branches' do result = subject - expect(result.map(&:name)).to eq(%w(feature_conflict fix)) + expect(result.map(&:name)).to eq(%w(feature_conflict few-commits)) end end context 'by next page_token and per_page' do - let(:params) { { page_token: 'fix', per_page: 2 } } + let(:params) { { page_token: 'few-commits', per_page: 2 } } it 'filters branches' do result = subject - expect(result.map(&:name)).to eq(%w(flatten-dir gitattributes)) + expect(result.map(&:name)).to eq(%w(fix flatten-dir)) end end @@ -254,7 +254,7 @@ RSpec.describe BranchesFinder do it 'falls back to default execute and ignore paginations' do result = subject - expect(result.map(&:name)).to eq(%w(feature feature_conflict fix flatten-dir)) + expect(result.map(&:name)).to eq(%w(feature feature_conflict few-commits fix flatten-dir)) end end end |