This commit is contained in:
Tom Preston-Werner 2010-08-03 15:25:26 -06:00
Родитель 09bae2d065
Коммит f91f3c8d6f
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -173,7 +173,7 @@ class TestCommit < Test::Unit::TestCase
assert patch.include?('test/test_reality.rb | 30 +++++++++++++++---------------')
assert patch.include?('@@ -1,17 +1,17 @@')
assert patch.include?('+# recurse(t)')
assert patch.include?("1.6.")
assert patch.include?("1.7.")
end
# inspect

Просмотреть файл

@ -16,14 +16,14 @@ class TestGit < Test::Unit::TestCase
def test_logs_stderr
Grit.debug = true
Grit.stubs(:log)
Grit.expects(:log).with(includes("git: 'bad' is not a git-command"))
Grit.expects(:log).with(includes("git: 'bad' is not a git command"))
@git.bad
end
def testl_logs_stderr_when_skipping_timeout
Grit.debug = true
Grit.stubs(:log)
Grit.expects(:log).with(includes("git: 'bad' is not a git-command"))
Grit.expects(:log).with(includes("git: 'bad' is not a git command"))
@git.bad :timeout => false
end