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
ba0359cb
Commit
ba0359cb
authored
Oct 02, 2020
by
Terri Chu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Ruby 2.7 warnings for git_instance_proxy_spec.rb
parent
35ae2c7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb
ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb
+4
-4
No files found.
ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb
View file @
ba0359cb
...
...
@@ -39,7 +39,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect
(
subject
.
class
).
to
receive
(
:elastic_search
).
with
(
'foo'
,
expected_params
)
subject
.
elastic_search
(
'foo'
,
params
)
subject
.
elastic_search
(
'foo'
,
**
params
)
end
it
'uses provided repository_id'
do
...
...
@@ -47,7 +47,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect
(
subject
.
class
).
to
receive
(
:elastic_search
).
with
(
'foo'
,
params
)
subject
.
elastic_search
(
'foo'
,
params
)
subject
.
elastic_search
(
'foo'
,
**
params
)
end
end
...
...
@@ -66,7 +66,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect
(
subject
.
class
).
to
receive
(
:elastic_search_as_found_blob
).
with
(
'foo'
,
expected_params
)
subject
.
elastic_search_as_found_blob
(
'foo'
,
params
)
subject
.
elastic_search_as_found_blob
(
'foo'
,
**
params
)
end
it
'uses provided repository_id'
do
...
...
@@ -74,7 +74,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect
(
subject
.
class
).
to
receive
(
:elastic_search_as_found_blob
).
with
(
'foo'
,
params
)
subject
.
elastic_search_as_found_blob
(
'foo'
,
params
)
subject
.
elastic_search_as_found_blob
(
'foo'
,
**
params
)
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