Sha256: d7c0211a803c89d53d1e2992746366797b48662fcf0ae8d68152cc869ce2726b
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
require 'spec_helper' require 'lock_jar/bundler' describe LockJar::Bundler do include Spec::Helpers before do remove_file('Jarfile.lock') LockJar::Bundler.lock!('spec/fixtures/Jarfile') end describe '.lock!' do it 'should create Jarfile.lock' do expect(File).to exist('Jarfile.lock') end end describe '.load' do it 'should load jars' do LockJar::Bundler.load('test') expected_jars = %w(junit:junit:jar:4.10 org.hamcrest:hamcrest-core:jar:1.1) expect(LockJar::Registry.instance.loaded_jars).to eql(expected_jars) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lock_jar-0.14.2 | spec/lock_jar/bundler_spec.rb |
lock_jar-0.14.1 | spec/lock_jar/bundler_spec.rb |
lock_jar-0.14.0 | spec/lock_jar/bundler_spec.rb |