mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
2d71a749fd
- Add avail_nodebalancers implementation and mock. - Add NodeBalancerFlavor model. - Add NodeBalancerFlavors collection.
20 lines
478 B
Ruby
20 lines
478 B
Ruby
Shindo.tests('Fog::Compute[:linode] | linodenodebalancers requests', ['linode']) do
|
|
|
|
@linodenodebalancers_format = Linode::Compute::Formats::BASIC.merge({
|
|
'DATA' => [{
|
|
'MONTHLY' => Float,
|
|
'HOURLY' => Float,
|
|
'CONNECTIONS' => Integer
|
|
}]
|
|
})
|
|
|
|
tests('success') do
|
|
|
|
tests('#avail_nodebalancers').formats(@linodenodebalancers_format) do
|
|
pending if Fog.mocking?
|
|
Fog::Compute[:linode].avail_nodebalancers.body
|
|
end
|
|
|
|
end
|
|
|
|
end
|