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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
b3e3c926
Commit
b3e3c926
authored
May 27, 2021
by
Kerri Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor typos in spec descriptions
parent
2ee7ccf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/models/merge_request_spec.rb
spec/models/merge_request_spec.rb
+3
-3
No files found.
spec/models/merge_request_spec.rb
View file @
b3e3c926
...
...
@@ -101,13 +101,13 @@ RSpec.describe MergeRequest, factory_default: :keep do
let_it_be
(
:merge_request3
)
{
create
(
:merge_request
,
:unique_branches
,
reviewers:
[])}
describe
'.review_requested'
do
it
'returns MRs that ha
s
any review requests'
do
it
'returns MRs that ha
ve
any review requests'
do
expect
(
described_class
.
review_requested
).
to
eq
([
merge_request1
,
merge_request2
])
end
end
describe
'.no_review_requested'
do
it
'returns MRs that ha
s
no review requests'
do
it
'returns MRs that ha
ve
no review requests'
do
expect
(
described_class
.
no_review_requested
).
to
eq
([
merge_request3
])
end
end
...
...
@@ -119,7 +119,7 @@ RSpec.describe MergeRequest, factory_default: :keep do
end
describe
'.no_review_requested_to'
do
it
'returns MRs that the user has been requested to review'
do
it
'returns MRs that the user has
not
been requested to review'
do
expect
(
described_class
.
no_review_requested_to
(
user1
)).
to
eq
([
merge_request2
,
merge_request3
])
end
end
...
...
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