Sha256: 768acd1e15edadc69f1836ac7993c4a19a87d4f710bcd170c0003e6cdd97d482
Contents?: true
Size: 685 Bytes
Versions: 28
Compression:
Stored size: 685 Bytes
Contents
require "spec_helper" describe Brightbox::FirewallPolicy do before do config_from_contents(API_CLIENT_CONFIG_CONTENTS) end describe "#find(:all)", vcr: true do context "when a policy exists" do before do options = {} @policy = Brightbox::FirewallPolicy.create(options) end it "should list firewall policy", vcr: true do output = FauxIO.new do firewall_policies = Brightbox::FirewallPolicy.find(:all) Brightbox.render_table(firewall_policies, :vertical => true) end expect(output.stdout).to include(@policy.id) end after do @policy.destroy end end end end
Version data entries
28 entries across 28 versions & 1 rubygems