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
d9819978
Commit
d9819978
authored
Nov 22, 2021
by
mehulsharma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix OpenStruct use
Fixed OpenStruct use as Ruby 3 discourages it Changelog: other EE: true
parent
82398ffa
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
ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb
...graphql/resolvers/board_groupings/epics_resolvers_spec.rb
+2
-2
No files found.
.rubocop_manual_todo.yml
View file @
d9819978
...
...
@@ -2556,7 +2556,6 @@ Style/OpenStructUse:
-
'
ee/spec/features/projects/new_project_spec.rb'
-
'
ee/spec/finders/template_finder_spec.rb'
-
'
ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb'
-
'
ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb'
-
'
ee/spec/helpers/ee/blob_helper_spec.rb'
-
'
ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb'
-
'
ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb'
...
...
ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb
View file @
d9819978
...
...
@@ -29,9 +29,9 @@ RSpec.describe Resolvers::BoardGroupings::EpicsResolver do
let_it_be
(
:epic_issue2
)
{
create
(
:epic_issue
,
epic:
epic2
,
issue:
issue2
)
}
let_it_be
(
:epic_issue3
)
{
create
(
:epic_issue
,
epic:
epic3
,
issue:
issue3
)
}
let
_it_be
(
:context
)
do
let
(
:context
)
do
GraphQL
::
Query
::
Context
.
new
(
query:
OpenStruct
.
new
(
schema:
nil
),
query:
double
(
'query'
,
schema:
nil
),
values:
{
current_user:
current_user
},
object:
nil
)
...
...
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