Sha256: ecdaa308077547b71b0e30416586b3d7b5dcf821edf3292911964ae8c83c4866
Contents?: true
Size: 655 Bytes
Versions: 11
Compression:
Stored size: 655 Bytes
Contents
require "spec_helper" describe Brightbox::Server do include ServerHelpers describe "#destroy" do context "when server exists", :vcr do it "should work" do # FIXME: Spec never actually calls destroy, just checks output of creation!! type = Brightbox::Type.find_by_handle "nano" options = server_params("wow", type) @servers = Brightbox::Server.create_servers 1, options output = FauxIO.new do Brightbox.render_table(@servers, :vertical => true) end expect(output.stdout).to include("wow") expect(output.stdout).to include("img-12345") end end end end
Version data entries
11 entries across 11 versions & 1 rubygems