tests/brightbox/requests/compute/zone_tests.rb in fog-maestrodev-1.15.0.20130829165835 vs tests/brightbox/requests/compute/zone_tests.rb in fog-maestrodev-1.15.0.20130927082724
- old
+ new
@@ -4,16 +4,16 @@
tests("#list_zones") do
pending if Fog.mocking?
result = Fog::Compute[:brightbox].list_zones
@zone_id = result.first["id"]
- formats(Brightbox::Compute::Formats::Collection::ZONES, false) { result }
+ data_matches_schema(Brightbox::Compute::Formats::Collection::ZONES, {:allow_extra_keys => true}) { result }
end
tests("#get_zone('#{@zone_id}')") do
pending if Fog.mocking?
result = Fog::Compute[:brightbox].get_zone(@zone_id)
- formats(Brightbox::Compute::Formats::Full::ZONE, false) { result }
+ data_matches_schema(Brightbox::Compute::Formats::Full::ZONE, {:allow_extra_keys => true}) { result }
end
end
tests('failure') do