[digitalocean] update flavor tests to match v2 mock
This commit is contained in:
parent
f331109bab
commit
78c209d1f9
|
@ -10,8 +10,15 @@ Shindo.tests("Fog::Compute[:digitalocean] | flavor model", ['digitalocean', 'com
|
|||
tests('have attributes') do
|
||||
model_attribute_hash = flavor.attributes
|
||||
attributes = [
|
||||
:id,
|
||||
:name,
|
||||
:available,
|
||||
:disk,
|
||||
:memory,
|
||||
:price_hourly,
|
||||
:price_monthly,
|
||||
:regions,
|
||||
:slug,
|
||||
:transfer,
|
||||
:vcpus
|
||||
]
|
||||
tests("The flavor model should respond to") do
|
||||
attributes.each do |attribute|
|
||||
|
|
Loading…
Reference in New Issue