Enables RSpec/EmptyLineAfterFinalLet cop & fixes all issues

Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterFinalLet
This commit is contained in:
Bertocq
2018-01-07 00:49:37 +01:00
parent 265d4d0967
commit fa017b664f
8 changed files with 13 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ feature 'Legislation Draft Versions' do
context 'Annotations', :js do
let(:user) { create(:user) }
background { login_as user }
scenario 'Visit as anonymous' do
@@ -218,6 +219,7 @@ feature 'Legislation Draft Versions' do
context "Merged annotations", :js do
let(:user) { create(:user) }
background { login_as user }
scenario 'View annotations and comments in an included range' do

View File

@@ -3,6 +3,7 @@ require 'rails_helper'
feature 'Legislation' do
let!(:administrator) { create(:administrator).user }
shared_examples "not published permissions" do |path|
let(:not_published_process) { create(:legislation_process, :not_published, title: "Process not published") }