Sha256: a0114f6011554eaca5a5d4c37cab92a9cd6fa126a016c06323fd41661749da65
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 Bytes
Contents
require File.join(File.dirname(__FILE__), '../spec_helper') require 'git_shizzle' describe 'Commands specified on the CLI' do let(:git) { GitShizzle::Git::Git.new(repo) } subject { GitShizzle::QuickGit.new(git) } context 'when invoking a command that does not exist' do it 'should fail' do expect { subject.run(:blah) }.to raise_error(GitShizzle::Dsl::CommandNotFoundError, "Could not find 'blah' command.") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_shizzle-0.2.6 | spec/git-shizzle/command_spec.rb |