Sha256: 5ac866de4a82ec2c1a19c052ad33043b5f79d832216d9e9b9c042b646cd96e99

Contents?: true

Size: 324 Bytes

Versions: 14

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'
require 'simple_deploy/cli'

describe SimpleDeploy do

  it "should call the given sub command" do
    status_mock = mock 'status mock'
    ARGV.stub :shift => 'status'
    status_mock.should_receive(:show)
    SimpleDeploy::CLI::Status.stub :new => status_mock
    SimpleDeploy::CLI.start
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
simple_deploy-0.7.6.beta.3 spec/cli_spec.rb
simple_deploy-0.7.6.beta.1 spec/cli_spec.rb
simple_deploy-0.7.5 spec/cli_spec.rb
simple_deploy-0.7.4 spec/cli_spec.rb
simple_deploy-0.7.3 spec/cli_spec.rb
simple_deploy-0.7.2 spec/cli_spec.rb
simple_deploy-0.7.2.beta.1 spec/cli_spec.rb
simple_deploy-0.7.1 spec/cli_spec.rb
simple_deploy-0.7.0 spec/cli_spec.rb
simple_deploy-0.6.7 spec/cli_spec.rb
simple_deploy-0.6.6 spec/cli_spec.rb
simple_deploy-0.6.5 spec/cli_spec.rb
simple_deploy-0.6.4 spec/cli_spec.rb
simple_deploy-0.6.3 spec/cli_spec.rb