Sha256: a41f1d2894d0b87c6a3eb41cf587230d8e0b60d22d4086862403a2cb39a8b1c8

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

require_relative '../test_helper'

module OhlohScm::Adapters
  class SvnPatchTest < Scm::Test
    def test_patch_for_commit
      with_svn_repository('svn') do |repo|
        commit = repo.verbose_commit(2)
        data = File.read(File.join(DATA_DIR, 'svn_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/svn_patch_test.rb