spec/dir_spec.rb in vfs-0.4.1 vs spec/dir_spec.rb in vfs-0.4.2
- old
+ new
@@ -136,9 +136,13 @@
it 'empty?' do
@path.empty?.should be_false
@path.dir('empty_dir').create.empty?.should be_true
end
+
+ it "should threat ['**/*.rb'] as glob" do
+ @path['**/*nother*'].first.name.should == 'another_dir'
+ end
end
describe 'copying' do
before do
@from = @path.dir
\ No newline at end of file