Enable the Layout/SpaceBeforeSemicolon cop
This commit is contained in:
parent
4bfa9b18c5
commit
05b1fd96fd
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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) }
|
||||||
|
|
Loading…
Reference in a new issue