Sha256: 0935a6d31e422339a529c97129e59649231536eef7f45276db3229b6358f01db

Contents?: true

Size: 486 Bytes

Versions: 6

Compression:

Stored size: 486 Bytes

Contents

require 'spec_helper'
require 'tagenv'

describe Tagenv::CLI do
  before do
  end

  it "should stdout help" do
    output = capture_stdout do
      Tagenv::CLI.start(['help'])
    end
    expect(output).not_to eq(nil)
  end

  it "include" do
    output = capture_stdout do
      Tagenv::CLI.start(['help', 'load'])
    end
    expect(output).to include('--provider')
    expect(output).to include('--instance-id')
    expect(output).to include('--prefix')
  end

  after do
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tagenv-0.1.7 spec/cli_spec.rb
tagenv-0.1.6 spec/cli_spec.rb
tagenv-0.1.5 spec/cli_spec.rb
tagenv-0.1.4 spec/cli_spec.rb
tagenv-0.1.3 spec/cli_spec.rb
tagenv-0.1.2 spec/cli_spec.rb