Sha256: 7c1e6867a7ca4bd5e0a2035323b8d44625957e126114c8602ec10e048b3b577d

Contents?: true

Size: 362 Bytes

Versions: 36

Compression:

Stored size: 362 Bytes

Contents

require_relative '../test_helper'

module OhlohScm::Adapters
  class SvnPatchTest < OhlohScm::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

36 entries across 36 versions & 1 rubygems

Version Path
ohloh_scm-2.5.1 test/unit/svn_patch_test.rb
ohloh_scm-2.4.14 test/unit/svn_patch_test.rb
ohloh_scm-2.4.13 test/unit/svn_patch_test.rb
ohloh_scm-2.4.12 test/unit/svn_patch_test.rb
ohloh_scm-2.4.11 test/unit/svn_patch_test.rb
ohloh_scm-2.4.10 test/unit/svn_patch_test.rb
ohloh_scm-2.4.9 test/unit/svn_patch_test.rb
ohloh_scm-2.4.8 test/unit/svn_patch_test.rb
ohloh_scm-2.4.7 test/unit/svn_patch_test.rb
ohloh_scm-2.4.6 test/unit/svn_patch_test.rb
ohloh_scm-2.4.5 test/unit/svn_patch_test.rb
ohloh_scm-2.4.4 test/unit/svn_patch_test.rb
ohloh_scm-2.4.3 test/unit/svn_patch_test.rb
ohloh_scm-2.4.1 test/unit/svn_patch_test.rb
ohloh_scm-2.4.0 test/unit/svn_patch_test.rb
ohloh_scm-2.3.5 test/unit/svn_patch_test.rb
ohloh_scm-2.3.4 test/unit/svn_patch_test.rb
ohloh_scm-2.3.2 test/unit/svn_patch_test.rb
ohloh_scm-2.3.1 test/unit/svn_patch_test.rb
ohloh_scm-2.3.0 test/unit/svn_patch_test.rb