Sha256: cbac4b29909971eeeb0d8f9835877dcf3486958c65a030622ee00b7f97a3765a
Contents?: true
Size: 384 Bytes
Versions: 17
Compression:
Stored size: 384 Bytes
Contents
require "spec_helper" require "shelly/cli/command" describe Shelly::CLI::Command do before { @command = Shelly::CLI::Command.new } context "when ENV['HOME'] is not set" do it 'should raise HomeNotSetError' do ENV.stub(:[]).with('HOME').and_return('') lambda { invoke(@command) }.should raise_error(Shelly::CLI::HomeNotSetError) end end end
Version data entries
17 entries across 17 versions & 1 rubygems