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
cbbbd0b8
Commit
cbbbd0b8
authored
Nov 24, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Style/OpenStructUse offenses
Changelog: other
parent
61f6c080
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/bin/feature_flag_spec.rb
spec/bin/feature_flag_spec.rb
+2
-2
No files found.
.rubocop_manual_todo.yml
View file @
cbbbd0b8
...
...
@@ -2564,7 +2564,6 @@ Style/OpenStructUse:
-
'
lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb'
-
'
lib/gitlab/testing/request_inspector_middleware.rb'
-
'
lib/mattermost/session.rb'
-
'
spec/bin/feature_flag_spec.rb'
-
'
spec/controllers/admin/clusters_controller_spec.rb'
-
'
spec/controllers/groups/clusters_controller_spec.rb'
-
'
spec/controllers/import/fogbugz_controller_spec.rb'
...
...
spec/bin/feature_flag_spec.rb
View file @
cbbbd0b8
...
...
@@ -239,7 +239,7 @@ RSpec.describe 'bin/feature-flag' do
end
describe
'.read_rollout_issue_url'
do
let
(
:options
)
{
OpenStruct
.
new
(
name:
'foo'
,
type: :development
)
}
let
(
:options
)
{
double
(
'options'
,
name:
'foo'
,
type: :development
)
}
let
(
:url
)
{
'https://issue'
}
it
'reads type from $stdin'
do
...
...
@@ -265,7 +265,7 @@ RSpec.describe 'bin/feature-flag' do
end
describe
'.read_ee_only'
do
let
(
:options
)
{
OpenStruct
.
new
(
name:
'foo'
,
type: :development
)
}
let
(
:options
)
{
double
(
'options'
,
name:
'foo'
,
type: :development
)
}
it
{
expect
(
described_class
.
read_ee_only
(
options
)).
to
eq
(
false
)
}
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