Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it "works with output of find calle with a search pattern" do
- FS.makedirs('foo/bar')
- FS.makedir('foo/baz')
- FS.touch('foo/bar/ruby1.rb')
- FS.touch('foo/ruby2.rb')
- FS.makedir('git')
- FS.to_tree(FS.find('.', "*.rb") - FS.find('.','git/**/*').should == <<EOF
- `--foo/
- |--bar/
- | `--ruby1.rb
- `--ruby2.rb
- EOF
- end
Add Comment
Please, Sign In to add comment