tests/brightbox/requests/compute/firewall_policy_tests.rb in fog-brightbox-1.0.0.rc2 vs tests/brightbox/requests/compute/firewall_policy_tests.rb in fog-brightbox-1.0.0
- old
+ new
@@ -29,11 +29,11 @@
result = Fog::Compute[:brightbox].update_firewall_policy(@firewall_policy_id, update_options)
data_matches_schema(Brightbox::Compute::Formats::Full::FIREWALL_POLICY, :allow_extra_keys => true) { result }
returns("Fog test policy B") { result["name"] }
end
- tests("#destroy_firewall_policy('#{@firewall_policy_id}')") do
- result = Fog::Compute[:brightbox].destroy_firewall_policy(@firewall_policy_id)
+ tests("#delete_firewall_policy('#{@firewall_policy_id}')") do
+ result = Fog::Compute[:brightbox].delete_firewall_policy(@firewall_policy_id)
data_matches_schema(Brightbox::Compute::Formats::Full::FIREWALL_POLICY, :allow_extra_keys => true) { result }
end
end
end