Sha256: 4165a9768e28e4d1b3c38d881f2d65174cd9b7d3eb7a3d9a61626aec120d73ab
Contents?: true
Size: 684 Bytes
Versions: 18
Compression:
Stored size: 684 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
18 entries across 18 versions & 1 rubygems