Sha256: 43ded4edd7a164ef62ba9cd1b8951056b94e8a7fe1f94204b1b208a07f882ac0
Contents?: true
Size: 820 Bytes
Versions: 14
Compression:
Stored size: 820 Bytes
Contents
require 'spec_helper' require 'lock_jar/runtime' describe LockJar::Runtime do context "Singleton" do it "should set local repo" do LockJar::Runtime.instance.load( nil, [], :resolve => true, :local_repo => TEST_REPO ) do jar 'junit:junit:4.10' end LockJar::Runtime.instance.current_resolver.naether.local_repo_path.should eql TEST_REPO LockJar::Runtime.instance.load( nil, [], :local_repo => PARAM_CONFIG ) do local_repo 'dsl_config' end LockJar::Runtime.instance.current_resolver.naether.local_repo_path.should eql PARAM_CONFIG LockJar::Runtime.instance.load( nil ) do local_repo DSL_CONFIG end LockJar::Runtime.instance.current_resolver.naether.local_repo_path.should eql DSL_CONFIG end end end
Version data entries
14 entries across 14 versions & 1 rubygems