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
32d4fe3d
Commit
32d4fe3d
authored
Dec 19, 2019
by
James Fargher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove rubocop todo for EmptyLineAfterFinalLet
Ran: bundle exec rubocop --only RSpec/EmptyLineAfterFinalLet -a
parent
c5d57bf1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
.rubocop_todo.yml
.rubocop_todo.yml
+0
-5
spec/features/dashboard/snippets_spec.rb
spec/features/dashboard/snippets_spec.rb
+1
-0
spec/models/blob_spec.rb
spec/models/blob_spec.rb
+1
-0
spec/models/readme_blob_spec.rb
spec/models/readme_blob_spec.rb
+1
-0
No files found.
.rubocop_todo.yml
View file @
32d4fe3d
...
@@ -268,11 +268,6 @@ Naming/RescuedExceptionsVariableName:
...
@@ -268,11 +268,6 @@ Naming/RescuedExceptionsVariableName:
RSpec/ContextWording
:
RSpec/ContextWording
:
Enabled
:
false
Enabled
:
false
# Offense count: 407
# Cop supports --auto-correct.
RSpec/EmptyLineAfterFinalLet
:
Enabled
:
false
# Offense count: 719
# Offense count: 719
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# Configuration parameters: EnforcedStyle.
...
...
spec/features/dashboard/snippets_spec.rb
View file @
32d4fe3d
...
@@ -91,6 +91,7 @@ describe 'Dashboard snippets' do
...
@@ -91,6 +91,7 @@ describe 'Dashboard snippets' do
context
'as an external user'
do
context
'as an external user'
do
let
(
:user
)
{
create
(
:user
,
:external
)
}
let
(
:user
)
{
create
(
:user
,
:external
)
}
before
do
before
do
sign_in
(
user
)
sign_in
(
user
)
visit
dashboard_snippets_path
visit
dashboard_snippets_path
...
...
spec/models/blob_spec.rb
View file @
32d4fe3d
...
@@ -424,6 +424,7 @@ describe Blob do
...
@@ -424,6 +424,7 @@ describe Blob do
describe
'policy'
do
describe
'policy'
do
let
(
:project
)
{
build
(
:project
)
}
let
(
:project
)
{
build
(
:project
)
}
subject
{
described_class
.
new
(
fake_blob
(
path:
'foo'
),
project
)
}
subject
{
described_class
.
new
(
fake_blob
(
path:
'foo'
),
project
)
}
it
'works with policy'
do
it
'works with policy'
do
...
...
spec/models/readme_blob_spec.rb
View file @
32d4fe3d
...
@@ -7,6 +7,7 @@ describe ReadmeBlob do
...
@@ -7,6 +7,7 @@ describe ReadmeBlob do
describe
'policy'
do
describe
'policy'
do
let
(
:project
)
{
build
(
:project
,
:repository
)
}
let
(
:project
)
{
build
(
:project
,
:repository
)
}
subject
{
described_class
.
new
(
fake_blob
(
path:
'README.md'
),
project
.
repository
)
}
subject
{
described_class
.
new
(
fake_blob
(
path:
'README.md'
),
project
.
repository
)
}
it
'works with policy'
do
it
'works with policy'
do
...
...
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