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
8f392435
Commit
8f392435
authored
Nov 10, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the offenses introduced by Style/OpenStructUse
Changelog: other
parent
0b887c2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
spec/support/shared_examples/requests/api/pypi_packages_shared_examples.rb
...ed_examples/requests/api/pypi_packages_shared_examples.rb
+2
-2
No files found.
.rubocop_manual_todo.yml
View file @
8f392435
...
...
@@ -2614,6 +2614,5 @@ Style/OpenStructUse:
-
'
spec/support/helpers/repo_helpers.rb'
-
'
spec/support/shared_examples/controllers/githubish_import_controller_shared_examples.rb'
-
'
spec/support/shared_examples/requests/api/nuget_packages_shared_examples.rb'
-
'
spec/support/shared_examples/requests/api/pypi_packages_shared_examples.rb'
-
'
spec/tooling/rspec_flaky/flaky_example_spec.rb'
-
'
tooling/rspec_flaky/flaky_example.rb'
spec/support/shared_examples/requests/api/pypi_packages_shared_examples.rb
View file @
8f392435
...
...
@@ -167,7 +167,7 @@ end
RSpec
.
shared_examples
'rejects PyPI access with unknown project id'
do
context
'with an unknown project'
do
let
(
:project
)
{
OpenStruct
.
new
(
id:
1234567890
)
}
let
(
:project
)
{
double
(
'access'
,
id:
1234567890
)
}
it_behaves_like
'unknown PyPI scope id'
end
...
...
@@ -175,7 +175,7 @@ end
RSpec
.
shared_examples
'rejects PyPI access with unknown group id'
do
context
'with an unknown project'
do
let
(
:group
)
{
OpenStruct
.
new
(
id:
1234567890
)
}
let
(
:group
)
{
double
(
'access'
,
id:
1234567890
)
}
it_behaves_like
'unknown PyPI scope id'
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