Rubocop autocorrect Lint/BlockAlignment and remove from rubocop_todo list
This commit is contained in:
@@ -6,15 +6,6 @@
|
||||
# Note that changes in the inspected code, or installation of new
|
||||
# versions of RuboCop, may require this file to be generated again.
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AlignWith, SupportedStyles.
|
||||
# SupportedStyles: either, start_of_block, start_of_line
|
||||
Lint/BlockAlignment:
|
||||
Exclude:
|
||||
- 'spec/features/tracks_spec.rb'
|
||||
- 'spec/models/proposal_spec.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
|
||||
|
||||
@@ -8,7 +8,7 @@ feature 'Tracking' do
|
||||
visit proposals_path
|
||||
|
||||
expect(page.html).to include "anonymous"
|
||||
end
|
||||
end
|
||||
|
||||
scenario 'Usertype level_1_user' do
|
||||
create(:geozone)
|
||||
|
||||
@@ -99,7 +99,7 @@ describe Proposal do
|
||||
|
||||
expect(proposal).to be_valid
|
||||
proposal.responsible_name = "12345678Z"
|
||||
end
|
||||
end
|
||||
|
||||
it "should not be updated when the author is deleted" do
|
||||
author = create(:user, :level_three, document_number: "12345678Z")
|
||||
|
||||
Reference in New Issue
Block a user