Sha256: 122f0b2bcd1bf9cc71fcd5edce547e4cfab2f799c99ab01d9a32d681c5683563

Contents?: true

Size: 387 Bytes

Versions: 18

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'
require 'engineyard/cli'

describe EY::CLI do

  it "sets up EY.ui" do
    EY.ui.should be_an(EY::UI)
    capture_stdout do
      EY::CLI.start(["help"])
    end
    EY.ui.should be_an(EY::CLI::UI)
  end

  it "provides error classes" do
    EY::EnvironmentError.should be
    EY::BranchMismatch.should be
    EY::DeployArgumentError.should be
  end

end # EY::CLI

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
engineyard-0.9.0 spec/engineyard/cli_spec.rb
engineyard-0.8.2 spec/engineyard/cli_spec.rb
engineyard-0.8.1 spec/engineyard/cli_spec.rb
engineyard-0.8.0 spec/engineyard/cli_spec.rb
engineyard-0.7.1 spec/engineyard/cli_spec.rb
engineyard-0.7.0 spec/engineyard/cli_spec.rb
engineyard-0.5.5 spec/engineyard/cli_spec.rb
engineyard-0.5.4 spec/engineyard/cli_spec.rb
engineyard-0.5.3 spec/engineyard/cli_spec.rb
engineyard-0.5.2 spec/engineyard/cli_spec.rb
engineyard-0.5.0 spec/engineyard/cli_spec.rb
engineyard-0.4.0 spec/engineyard/cli_spec.rb
engineyard-0.3.3 spec/engineyard/cli_spec.rb
engineyard-0.3.2 spec/engineyard/cli_spec.rb
engineyard-0.3.1 spec/engineyard/cli_spec.rb
engineyard-0.3.0 spec/engineyard/cli_spec.rb
engineyard-0.2.13 spec/engineyard/cli_spec.rb
engineyard-0.2.12 spec/engineyard/cli_spec.rb