Sha256: 74a10bbfd13c3ac3eec151491292c538bfc13fe70f0e47ade07d4672f2a780d6
Contents?: true
Size: 663 Bytes
Versions: 6
Compression:
Stored size: 663 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe "TorqueBox::VFS::Dir" do extend TestDataHelper describe "entries" do it "should find vfs entries outside of archives" do path = "#{archive1_path}/.." ::Dir.new( path ).entries.should == TorqueBox::VFS::Dir.new( vfs_path(path) ).entries end it "should find vfs entries inside of archives" do path = "#{archive1_vfs_path}/other_lib/subdir" entries = TorqueBox::VFS::Dir.new( path ).entries entries.size.should == 3 entries.should include( "." ) entries.should include( ".." ) entries.should include( "archive6.jar" ) end end end
Version data entries
6 entries across 6 versions & 1 rubygems