mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix(tests): ArgumentError + NoMethodError are const
* These are top-level constants and do not need to be prefixed with the class.
This commit is contained in:
parent
605295f361
commit
fa1f981a80
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ Shindo.tests('Fog::Rackspace::Monitoring | alarm_example_tests', ['rackspace','r
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
tests('failure') do
|
tests('failure') do
|
||||||
tests('#fail to list alarm examples(-1)').raises(Fog::Rackspace::Monitoring::ArgumentError) do
|
tests('#fail to list alarm examples(-1)').raises(ArgumentError) do
|
||||||
account.list_alarm_examples(-1).data[:headers]
|
account.list_alarm_examples(-1).data[:headers]
|
||||||
end
|
end
|
||||||
tests('#fail to get alarm example(-1)').raises(Fog::Rackspace::Monitoring::NotFound) do
|
tests('#fail to get alarm example(-1)').raises(Fog::Rackspace::Monitoring::NotFound) do
|
||||||
|
|
Loading…
Add table
Reference in a new issue