Shell: Add file system browser to retrieve arbitrary files

This commit is contained in:
Sebastian Serth
2022-10-04 15:21:06 +02:00
committed by Sebastian Serth
parent 60078701f5
commit 58548555a5
13 changed files with 240 additions and 38 deletions

View File

@ -161,7 +161,7 @@ describe FileTree do
end
context 'with leaf nodes' do
let(:node) { root.add(Tree::TreeNode.new('')) }
let(:node) { root.add(Tree::TreeNode.new('', CodeOcean::File.new)) }
it 'is a file icon' do
expect(file_tree).to receive(:file_icon)