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
70a9cd70
Commit
70a9cd70
authored
Mar 29, 2022
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove code comment related to a RuboCop weird behaviour
See
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/83725
parent
5c6bd9b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
spec/fast_spec_helper.rb
spec/fast_spec_helper.rb
+0
-1
spec/spec_helper.rb
spec/spec_helper.rb
+0
-1
No files found.
spec/fast_spec_helper.rb
View file @
70a9cd70
# frozen_string_literal: true
# frozen_string_literal: true
# $" is $LOADED_FEATURES, but RuboCop didn't like it
if
$"
.
include?
(
File
.
expand_path
(
'spec_helper.rb'
,
__dir__
))
if
$"
.
include?
(
File
.
expand_path
(
'spec_helper.rb'
,
__dir__
))
# There's no need to load anything here if spec_helper is already loaded
# There's no need to load anything here if spec_helper is already loaded
# because spec_helper is more extensive than fast_spec_helper
# because spec_helper is more extensive than fast_spec_helper
...
...
spec/spec_helper.rb
View file @
70a9cd70
# frozen_string_literal: true
# frozen_string_literal: true
# $" is $LOADED_FEATURES, but RuboCop didn't like it
if
$"
.
include?
(
File
.
expand_path
(
'fast_spec_helper.rb'
,
__dir__
))
if
$"
.
include?
(
File
.
expand_path
(
'fast_spec_helper.rb'
,
__dir__
))
warn
'Detected fast_spec_helper is loaded first than spec_helper.'
warn
'Detected fast_spec_helper is loaded first than spec_helper.'
warn
'If running test files using both spec_helper and fast_spec_helper,'
warn
'If running test files using both spec_helper and fast_spec_helper,'
...
...
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