Sha256: 257a4ff218a4f7266026a9ba1678f5ee61399a9cb39c1299c042137aa6b3cacc

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

require_relative '../test_helper'

module OhlohScm::Adapters
	class GitPullTest < Scm::Test

		def test_basic_pull
			with_git_repository('git') do |src|
				Scm::ScratchDir.new do |dest_dir|

					dest = GitAdapter.new(:url => dest_dir).normalize
					assert !dest.exist?

					dest.pull(src)
					assert dest.exist?

					assert_equal src.log, dest.log
				end
			end
		end

	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ohloh_scm-2.0.0 test/unit/git_pull_test.rb