Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6762aa0d
Commit
6762aa0d
authored
Jul 25, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tense of example description
parent
4160a8dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/lib/bitbucket_server/paginator_spec.rb
spec/lib/bitbucket_server/paginator_spec.rb
+1
-1
No files found.
spec/lib/bitbucket_server/paginator_spec.rb
View file @
6762aa0d
...
@@ -9,7 +9,7 @@ describe BitbucketServer::Paginator do
...
@@ -9,7 +9,7 @@ describe BitbucketServer::Paginator do
let
(
:paginator
)
{
described_class
.
new
(
connection
,
'http://more-data'
,
:pull_request
)
}
let
(
:paginator
)
{
described_class
.
new
(
connection
,
'http://more-data'
,
:pull_request
)
}
let
(
:page_attrs
)
{
{
'isLastPage'
=>
false
,
'nextPageStart'
=>
1
}
}
let
(
:page_attrs
)
{
{
'isLastPage'
=>
false
,
'nextPageStart'
=>
1
}
}
it
'return items and raises StopIteration in the end'
do
it
'return
s
items and raises StopIteration in the end'
do
allow
(
paginator
).
to
receive
(
:fetch_next_page
).
and_return
(
first_page
)
allow
(
paginator
).
to
receive
(
:fetch_next_page
).
and_return
(
first_page
)
expect
(
paginator
.
items
).
to
match
([
'item_1'
])
expect
(
paginator
.
items
).
to
match
([
'item_1'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment