Sha256: b58671d1763e09541c40a145879bff48a2034c0faa0fd83db0e214632ad69530
Contents?: true
Size: 627 Bytes
Versions: 11
Compression:
Stored size: 627 Bytes
Contents
require "spec_helper" describe Brightbox::FirewallRule do describe "#destroy", :vcr do context "when rule exists" do before do policy_options = {} @policy = Brightbox::FirewallPolicy.create(policy_options) rule_options = { :destination => "0.0.0.0/0", :destination_port => "1080", :protocol => "tcp", :firewall_policy_id => @policy.id } @rule = Brightbox::FirewallRule.create(rule_options) end it "destroys a rule" do expect do @rule.destroy end.to_not raise_error end end end end
Version data entries
11 entries across 11 versions & 1 rubygems