Sha256: 42c48de357caa2aea673e41aa1e608a54d446a7551ffabb0e9b42256254e13e4
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
require File.dirname(__FILE__) + '/base' describe Rush::Box do before do @sandbox_dir = "/tmp/rush_spec.#{Process.pid}" system "rm -rf #{@sandbox_dir}; mkdir -p #{@sandbox_dir}" @box = Rush::Box.new('localhost') end after do system "rm -rf #{@sandbox_dir}" end it "looks up entries with [] syntax" do @box['/'].should == Rush::Dir.new('/', @box) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rush-0.1 | spec/box_spec.rb |