spec/minigit_spec.rb in minigit-0.0.3 vs spec/minigit_spec.rb in minigit-0.0.4

- old
+ new

@@ -104,9 +104,10 @@ end it 'raises an error if command fails' do git.git_command = 'false' assert { MiniGit::GitError === rescuing { git.git(:wrong) } } + system 'true' # to reset $? to a clean value end end describe '#capturing' do