diff options
-rw-r--r-- | spec/lib/bitbucket_server/paginator_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/bitbucket_server/paginator_spec.rb b/spec/lib/bitbucket_server/paginator_spec.rb index 547d54ef2c5..2de50eba3c4 100644 --- a/spec/lib/bitbucket_server/paginator_spec.rb +++ b/spec/lib/bitbucket_server/paginator_spec.rb @@ -9,7 +9,7 @@ describe BitbucketServer::Paginator do let(:paginator) { described_class.new(connection, 'http://more-data', :pull_request) } let(:page_attrs) { { 'isLastPage' => false, 'nextPageStart' => 1 } } - it 'return items and raises StopIteration in the end' do + it 'returns items and raises StopIteration in the end' do allow(paginator).to receive(:fetch_next_page).and_return(first_page) expect(paginator.items).to match(['item_1']) |