Tests: fix users_controller_shared_example

This commit is contained in:
Simon Lehericey 2017-02-21 16:50:10 +01:00
parent 3f87c08db3
commit df26b4c3e2

View file

@ -11,7 +11,7 @@ shared_examples 'current_user_dossier_spec' do
end
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