Fix test
This commit is contained in:
parent
bd89688346
commit
5fb678e53b
1 changed files with 3 additions and 5 deletions
|
@ -77,8 +77,6 @@ describe SIADE::EtablissementAdapter do
|
||||||
.to_return(body: 'Fake body', status: 404)
|
.to_return(body: 'Fake body', status: 404)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'raises exception RestClient::ResourceNotFound' do
|
it { expect(subject).to be_nil }
|
||||||
expect { subject }.to raise_error(RestClient::ResourceNotFound)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue