Enable the Layout/SpaceBeforeSemicolon cop

This commit is contained in:
gregoirenovel 2018-01-15 21:52:21 +01:00
parent 4bfa9b18c5
commit 05b1fd96fd
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ Layout/SpaceBeforeFirstArg:
Enabled: true Enabled: true
Layout/SpaceBeforeSemicolon: Layout/SpaceBeforeSemicolon:
Enabled: false Enabled: true
Layout/SpaceInLambdaLiteral: Layout/SpaceInLambdaLiteral:
Enabled: false Enabled: false

View file

@ -34,7 +34,7 @@ describe Admin::MailTemplatesController, type: :controller do
it { expect(response).to redirect_to admin_procedure_mail_templates_path(procedure) } it { expect(response).to redirect_to admin_procedure_mail_templates_path(procedure) }
context 'the mail template' do context 'the mail template' do
subject { procedure.reload ; procedure.initiated_mail_template } subject { procedure.reload; procedure.initiated_mail_template }
it { expect(subject.subject).to eq(mail_subject) } it { expect(subject.subject).to eq(mail_subject) }
it { expect(subject.body).to eq(mail_body) } it { expect(subject.body).to eq(mail_body) }