This commit is contained in:
Sijawusz Pur Rahnama 2024-04-17 23:43:03 +02:00
parent 1bd59c1bf0
commit f12e7f6c5d

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