Sha256: 7509e6f72738b277f71ade6622cc77ea0702d551795315d4c33538e6da94a3d2
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require "spec_helper" describe Brightbox::FirewallPolicy do describe "#destroy", vcr: true do it "should destroy firewall policy" do params = { :name => "rspec_tests" } @group = Brightbox::ServerGroup.create(params) expect do firewall_options = { :name => "rspec_firewall_policy", :server_group_id => @group.id } @firewall_policy = Brightbox::FirewallPolicy.create(firewall_options) @firewall_policy.destroy end.not_to raise_error @group.destroy end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brightbox-cli-2.2.0 | spec/unit/brightbox/firewall_policy/destroy_spec.rb |