Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/pagination/offset_pagination_spec.rb')
-rw-r--r--spec/lib/gitlab/pagination/offset_pagination_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/pagination/offset_pagination_spec.rb b/spec/lib/gitlab/pagination/offset_pagination_spec.rb
index b1c4ffd6c29..dc32f471756 100644
--- a/spec/lib/gitlab/pagination/offset_pagination_spec.rb
+++ b/spec/lib/gitlab/pagination/offset_pagination_spec.rb
@@ -308,8 +308,8 @@ RSpec.describe Gitlab::Pagination::OffsetPagination do
expect(subject).to receive(:header).with(*args, &block)
end
- def expect_no_header(*args, &block)
- expect(subject).not_to receive(:header).with(*args)
+ def expect_no_header(...)
+ expect(subject).not_to receive(:header).with(...)
end
def expect_message(method)