test/test_hoc.rb in hoc-0.3 vs test/test_hoc.rb in hoc-0.4

- old
+ new

@@ -31,11 +31,11 @@ # Copyright:: Copyright (c) 2014 Yegor Bugayenko # License:: MIT class TestHOC < Minitest::Test def test_basic_git Dir.mktmpdir 'test' do |dir| - system(" + fail unless system(" set -e cd '#{dir}' git init . git config user.email test@teamed.io git config user.name test @@ -47,10 +47,10 @@ end end def test_basic_svn Dir.mktmpdir 'test' do |dir| - system(" + fail unless system(" set -e cd '#{dir}' svnadmin create base svn co file://#{dir}/base repo cd repo