mirror of
https://github.com/tomgi/git_stats.git
synced 2024-11-16 16:48:34 +01:00
12 lines
358 B
Ruby
12 lines
358 B
Ruby
# -*- encoding : utf-8 -*-
|
|
require 'spec_helper'
|
|
|
|
describe GitStats::Generator do
|
|
let(:repo_path) { 'repo_path' }
|
|
let(:out_path) { 'out_path' }
|
|
let(:generator) { GitStats::Generator.new(path: repo_path, out_path: out_path) }
|
|
|
|
it 'should raise exception if given repo path is not a git repository' do
|
|
expect { generator }.to raise_error
|
|
end
|
|
end
|