Sha256: 2ef04d5750ff7d20bb43ea9b937144083d4fad59e4093551291210767aee7f2d

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

require 'spec_helper'

describe R10K::Git::WorkingDir do

  before do
    R10K::Git::Cache.stubs(:cache_root).returns '/tmp'
  end

  describe "initializing" do
    it "generates a new cache for the remote" do
      wd = described_class.new('master', 'git://github.com/adrienthebo/r10k-fixture-repo', '/tmp')
      wd.cache.should be_kind_of R10K::Git::Cache
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
r10k-1.0.0 spec/unit/git/working_dir_spec.rb
r10k-1.0.0rc4 spec/unit/git/working_dir_spec.rb
r10k-1.0.0rc3 spec/unit/git/working_dir_spec.rb
r10k-1.0.0rc2 spec/unit/git/working_dir_spec.rb
r10k-1.0.0rc1 spec/unit/git/working_dir_spec.rb