mirror of
https://github.com/tomgi/git_stats.git
synced 2024-12-22 13:32:17 +01:00
updated stub syntax for new version of rspec-mocks
This commit is contained in:
parent
dca3f9f71b
commit
12c920d614
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ describe GitStats::Generator do
|
|||
let(:out_path) { 'out_path' }
|
||||
let(:generator) { GitStats::Generator.new(repo_path, out_path) }
|
||||
|
||||
before { Dir.stub!(:exists? => true) }
|
||||
before { Dir.stub(:exists? => true) }
|
||||
|
||||
it 'should raise exception if given repo path is not a git repository' do
|
||||
Dir.should_receive(:exists?).with("#{repo_path}/.git").and_return(false)
|
||||
|
|
Loading…
Reference in a new issue