Sha256: 23a6dceddfd56f1c8ee26a4a6b23fa5b2b49182d14e9201d67c273385e859d0d

Contents?: true

Size: 545 Bytes

Versions: 3

Compression:

Stored size: 545 Bytes

Contents

require 'spec_helper'
require 'support/cli_expectations'
require 'warp/dir/formatter'

RSpec.describe Warp::Dir::Command::Install do

  let(:commander) { Warp::Dir.commander }
  let(:install) { Warp::Dir::Command::Install.new(store) }

  describe '#run' do
    include_context :fixture_file
    include_context :initialized_store

    context 'when shell files do not exist' do
      it 'should return :error type response' do
        expect("install #{warprc_args} --dotfile ~/.do_not_exist").to output(/not found/)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
warp-dir-1.1.3 spec/warp/dir/commands/install_spec.rb
warp-dir-1.1.2 spec/warp/dir/commands/install_spec.rb
warp-dir-1.1.1 spec/warp/dir/commands/install_spec.rb