Tests: fix users_controller_shared_example
This commit is contained in:
parent
3f87c08db3
commit
df26b4c3e2
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ shared_examples 'current_user_dossier_spec' do
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'when dossier id is incorrect' do
|
context 'when dossier id is incorrect' do
|
||||||
it { expect { subject.current_user_dossier 1 }.to raise_error ActiveRecord::RecordNotFound }
|
it { expect { subject.current_user_dossier 666 }.to raise_error ActiveRecord::RecordNotFound }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue