Sha256: 3eadd967f5828600ce860fe420024a342fc2f8a10976f731c5508524f69b8a61
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
require_relative '../test_helper' module OhlohScm::Adapters class GitPatchTest < Scm::Test def test_patch_for_commit with_git_repository('git') do |repo| commit = repo.verbose_commit('b6e9220c3cabe53a4ed7f32952aeaeb8a822603d') data = File.read(File.join(DATA_DIR, 'git_patch.diff')) assert_equal data, repo.patch_for_commit(commit) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ohloh_scm-2.0.0 | test/unit/git_patch_test.rb |