Sha256: 311177e53c50a94cb2e35f3cd9fac6349b85568c4fe1e602a351ceba015792ab
Contents?: true
Size: 757 Bytes
Versions: 7
Compression:
Stored size: 757 Bytes
Contents
require "spec_helper" describe "brightbox database-snapshots" do describe "list" do let(:output) { FauxIO.new { Brightbox.run(argv) } } let(:stdout) { output.stdout } let(:stderr) { output.stderr } before do config = config_from_contents(USER_APP_CONFIG_CONTENTS) # Setup in the VCR recordings cache_access_token(config, "f83da712e6299cda953513ec07f7a754f747d727") end context "when resources are available", vcr: true do let(:argv) { %w(sql snapshots list) } it "does not output to stderr" do expect(stderr).to be_empty end it "outputs table details to stdout" do expect(stdout).to_not be_empty expect(stdout).to match(/dbi-\d+/) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems