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
0ab791aa
Commit
0ab791aa
authored
Dec 02, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Style/OpenStructUse offenses
Changelog: other
parent
3b77dbe0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.rubocop_todo/style/open_struct_use.yml
.rubocop_todo/style/open_struct_use.yml
+0
-1
spec/lib/gitlab/cleanup/orphan_lfs_file_references_spec.rb
spec/lib/gitlab/cleanup/orphan_lfs_file_references_spec.rb
+1
-1
No files found.
.rubocop_todo/style/open_struct_use.yml
View file @
0ab791aa
...
...
@@ -34,7 +34,6 @@ Style/OpenStructUse:
-
spec/helpers/profiles_helper_spec.rb
-
spec/initializers/doorkeeper_spec.rb
-
spec/lib/gitlab/auth/o_auth/provider_spec.rb
-
spec/lib/gitlab/cleanup/orphan_lfs_file_references_spec.rb
-
spec/lib/gitlab/database/migrations/runner_spec.rb
-
spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb
-
spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb
...
...
spec/lib/gitlab/cleanup/orphan_lfs_file_references_spec.rb
View file @
0ab791aa
...
...
@@ -97,6 +97,6 @@ RSpec.describe Gitlab::Cleanup::OrphanLfsFileReferences do
def
stub_lfs_pointers
(
repo
,
*
oids
)
expect
(
repo
.
gitaly_blob_client
)
.
to
receive
(
:get_all_lfs_pointers
)
.
and_return
(
oids
.
map
{
|
oid
|
OpenStruct
.
new
(
lfs_oid:
oid
)
})
.
and_return
(
oids
.
map
{
|
oid
|
double
(
'pointers'
,
lfs_oid:
oid
)
})
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