diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 7e3b28c66..d1844dde6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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. diff --git a/spec/features/tracks_spec.rb b/spec/features/tracks_spec.rb index a4b8a7ce6..d93f0591c 100644 --- a/spec/features/tracks_spec.rb +++ b/spec/features/tracks_spec.rb @@ -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) diff --git a/spec/models/proposal_spec.rb b/spec/models/proposal_spec.rb index 7a87e365f..f60bff18c 100644 --- a/spec/models/proposal_spec.rb +++ b/spec/models/proposal_spec.rb @@ -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")