Sha256: f8fe5d72a4c13f802d8740b7a24317870b26ffd1ad583b71001c397171c71eed
Contents?: true
Size: 595 Bytes
Versions: 1
Compression:
Stored size: 595 Bytes
Contents
require "spec_helper" describe Brightbox::ServerGroup do describe "#find(:all)" do context "when a group exists", vcr: true do before do options = { :name => "Test group" } @group = Brightbox::ServerGroup.create(options) end it "list server groups" do server_groups = Brightbox::ServerGroup.find(:all) output = FauxIO.new do Brightbox.render_table(server_groups, {}) end expect(output.stdout).to include(@group.id) end after do @group.destroy end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brightbox-cli-2.2.0 | spec/unit/brightbox/server_group/find_spec.rb |