Skip to content

Commit b6bc48e

Browse files
andrykonchineregon
authored andcommitted
Remove FileTest.exists? alias to exist? method
1 parent d3f3fff commit b6bc48e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

core/filetest/exist_spec.rb

+8
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@
44
describe "FileTest.exist?" do
55
it_behaves_like :file_exist, :exist?, FileTest
66
end
7+
8+
ruby_version_is "3.2" do
9+
describe "FileTest.exists?" do
10+
it "has been removed" do
11+
FileTest.should_not.respond_to?(:exists?)
12+
end
13+
end
14+
end

0 commit comments

Comments
 (0)