Sha256: 6713201660b554724de841901adb8ba885769228e1272293977b4099b8cd442c
Contents?: true
Size: 497 Bytes
Versions: 9
Compression:
Stored size: 497 Bytes
Contents
require File.dirname(__FILE__) + '/helper' class TestCommitWrite < Test::Unit::TestCase def setup @r = Repo.new(GRIT_REPO) end def test_commit Git.any_instance.expects(:commit).returns(fixture('commit')) results = @r.commit_index('my message') assert_match /Created commit/, results end def test_commit_all Git.any_instance.expects(:commit).returns(fixture('commit')) results = @r.commit_all('my message') assert_match /Created commit/, results end end
Version data entries
9 entries across 9 versions & 3 rubygems