spec/phare/git_spec.rb in phare-0.5.2 vs spec/phare/git_spec.rb in phare-0.6

- old
+ new

@@ -1,8 +1,10 @@ require 'spec_helper' describe Phare::Git do + let(:described_class) { Phare::Git } + let(:extensions) { ['.rb'] } let(:options) { { diff: true } } let(:git) { described_class.new(extensions, options) } describe :changed? do @@ -37,10 +39,10 @@ it { expect(git.changes).to eq([]) } end context 'with untracked file' do - let(:tree) { "?? foo.rb" } + let(:tree) { '?? foo.rb' } it { expect(git.changes).to eq(['foo.rb']) } end context 'with added file' do