Enable the Layout/SpaceBeforeBlockBraces cop

This commit is contained in:
gregoirenovel 2018-12-24 17:28:20 +01:00 committed by Pierre de La Morinerie
parent 8b0b8162f0
commit 386fbce776
25 changed files with 53 additions and 53 deletions

View file

@ -13,7 +13,7 @@ describe Invite do
create(:invite, email: email1, dossier: dossier2)
end
it { expect{ subject }.to change(Invite, :count).by(2) }
it { expect { subject }.to change(Invite, :count).by(2) }
end
context 'when an email is invite twice on a dossier' do
@ -22,7 +22,7 @@ describe Invite do
create(:invite, email: email1, dossier: dossier1)
end
it { expect{ subject }.to raise_error ActiveRecord::RecordInvalid }
it { expect { subject }.to raise_error ActiveRecord::RecordInvalid }
end
context "email validation" do