Sha256: 463f0901c1754c6f6362b975f514169ff9b558f610976a07b4f3e545e7150eb4
Contents?: true
Size: 603 Bytes
Versions: 7
Compression:
Stored size: 603 Bytes
Contents
require "spec_helper" describe Brightbox::FirewallPolicy do describe "#find(:all)", :vcr do context "when a policy exists" do before do options = {} @policy = Brightbox::FirewallPolicy.create(options) end it "should list firewall policy", :vcr 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
7 entries across 7 versions & 1 rubygems