Sha256: e1d6fe0cb5ba2596e0d70c983cc30f2e1dd2522df5d07f4075009f0a80387f1b
Contents?: true
Size: 593 Bytes
Versions: 23
Compression:
Stored size: 593 Bytes
Contents
require 'spec_helper' describe 'GitSvn::Scm' do it 'must convert to git Repository' do with_svn_repository('svn') do |src| tmpdir do |local_dir| git_svn = get_core(:git_svn, url: local_dir) git_svn.scm.pull(src.scm, TestCallback.new) assert git_svn.status.exist? git_svn.activity.commit_count.must_equal 5 end end end it 'must fetch the repo' do OhlohScm::GitSvn::Scm.any_instance.expects(:run).times(3) with_git_svn_repository('git_svn') do |git_svn| git_svn.scm.pull(git_svn.scm, TestCallback.new) end end end
Version data entries
23 entries across 23 versions & 1 rubygems