This commit is contained in:
Sijawusz Pur Rahnama 2024-04-17 23:43:03 +02:00
parent 1bd59c1bf0
commit f12e7f6c5d
1 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,12 @@ module Ameba
subject.expand(["**/#{current_file_basename}", "**/#{current_file_basename}"])
.should eq [current_file_path]
end
it "does not list folders" do
subject.expand(["**/*"]).each do |path|
fail "#{path.inspect} should be a file" unless File.file?(path)
end
end
end
end
end