mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
revert tests to proper error codes, waiting on fix from linode to support correct error codes
This commit is contained in:
parent
1b887f3608
commit
494035ce98
1 changed files with 2 additions and 2 deletions
|
@ -70,12 +70,12 @@ Shindo.tests('Linode::Compute | linode requests', ['linode']) do
|
||||||
|
|
||||||
tests('failure') do
|
tests('failure') do
|
||||||
|
|
||||||
tests('#linode_reboot(0)').raises(Fog::Linode::Compute::Error) do
|
tests('#linode_reboot(0)').raises(Fog::Linode::Compute::NotFound) do
|
||||||
pending if Fog.mocking?
|
pending if Fog.mocking?
|
||||||
Linode[:compute].linode_reboot(0)
|
Linode[:compute].linode_reboot(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
tests('#linode_delete(0)').raises(Fog::Linode::Compute::Error) do
|
tests('#linode_delete(0)').raises(Fog::Linode::Compute::NotFound) do
|
||||||
pending if Fog.mocking?
|
pending if Fog.mocking?
|
||||||
Linode[:compute].linode_delete(0)
|
Linode[:compute].linode_delete(0)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue