Sha256: 7c70be0a41db6be6a2646824895f6b52ba2532b0b25cca817fc56529727a9113

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 Bytes

Contents

require 'rubygems'
require 'lib/lock_jar/resolver'
require 'fileutils'
require 'naether'

describe LockJar::Resolver do
  context "Instance" do
    it "should bootstrap naether" do
      FileUtils.mkdir_p( 'tmp/test-repo' )
      resolver = LockJar::Resolver.new( :local_repo => 'tmp/test-repo' )
      
      deps = Naether::Bootstrap.check_local_repo_for_deps( 'tmp/test-repo' )
      deps[:missing].should eql([])
      deps[:exists].each do |dep|
        dep.values[0].should match /.+#{File::SEPARATOR}tmp#{File::SEPARATOR}test-repo#{File::SEPARATOR}.+/
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lock_jar-0.1.0 spec/lock_jar/resolver_spec.rb
lock_jar-0.0.3 spec/lock_jar/resolver_spec.rb
lock_jar-0.0.2 spec/lock_jar/resolver_spec.rb
lock_jar-0.0.1 spec/lock_jar/resolver_spec.rb