Sha256: a2e292209a752ee54db4f26641ee894cded42ae4ee317098c5b8eba7479b46ea

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 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 --dotfile ~/.do_not_exist').to output(/not found/)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
warp-dir-1.1.0 spec/warp/dir/commands/install_spec.rb