spec/packaging/archive_spec.rb in vic-buildr-1.3.3 vs spec/packaging/archive_spec.rb in vic-buildr-1.3.4

- old
+ new

@@ -78,10 +78,10 @@ end it 'should invoke and archive file tasks' do file = file('included') { write 'included' } lambda { archive(@archive).include(file).invoke }.should change { File.exist?(file.to_s) }.to(true) - inspect_archive.should include('included') + inspect_archive.keys.should include('included') end it 'should include entry for directory' do archive(@archive).include(@dir).invoke inspect_archive { |archive| @files.each { |f| archive['test/' + File.basename(f)].should eql(content_for(f)) } }