Enable the Layout/SpaceBeforeBlockBraces cop
This commit is contained in:
parent
8b0b8162f0
commit
386fbce776
25 changed files with 53 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue