Sha256: b48506428a594ed7850f97857c48c54e1d1a4a7fab8d62cb5b8e92ff0d89db1a

Contents?: true

Size: 396 Bytes

Versions: 15

Compression:

Stored size: 396 Bytes

Contents

require_relative '../test_helper'

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

		def test_basic_pull
			with_git_repository('git') do |src|
				OhlohScm::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

15 entries across 15 versions & 1 rubygems

Version Path
ohloh_scm-2.2.12 test/unit/git_pull_test.rb
ohloh_scm-2.2.11 test/unit/git_pull_test.rb
ohloh_scm-2.2.10 test/unit/git_pull_test.rb
ohloh_scm-2.2.9 test/unit/git_pull_test.rb
ohloh_scm-2.2.8 test/unit/git_pull_test.rb
ohloh_scm-2.2.7 test/unit/git_pull_test.rb
ohloh_scm-2.2.6 test/unit/git_pull_test.rb
ohloh_scm-2.2.5 test/unit/git_pull_test.rb
ohloh_scm-2.2.4 test/unit/git_pull_test.rb
ohloh_scm-2.2.3 test/unit/git_pull_test.rb
ohloh_scm-2.2.2 test/unit/git_pull_test.rb
ohloh_scm-2.2.1 test/unit/git_pull_test.rb
ohloh_scm-2.2.0 test/unit/git_pull_test.rb
ohloh_scm-2.1.0 test/unit/git_pull_test.rb
ohloh_scm-2.0.1 test/unit/git_pull_test.rb