Sha256: ef7e925caa246fbd5f6ef242bc8b3cc8c34b1abbcd9e432c3e1c223c508ed0b7
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
require File.join(File.dirname(__FILE__), '../spec_helper') require 'git_shizzle' describe 'Git Repository' do let(:git) { GitShizzle::Git::Git.new(repo) } subject { GitShizzle::QuickGit.new(git) } context 'when invoking a command outside a Git repository' do it 'should fail' do FileUtils.rm_rf '.git' expect { subject.run(:track) }.to raise_error(GitShizzle::Git::GitExecuteError, /Not a git repository/) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_shizzle-0.2.6 | spec/git-shizzle/git_spec.rb |