[digitalocean] update flavor tests to match v2 mock

This commit is contained in:
geemus 2016-01-06 15:36:25 -06:00
parent f331109bab
commit 78c209d1f9
1 changed files with 9 additions and 2 deletions

View File

@ -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|