blob: 2633376880b91d7f318824dc0eb32d3ff4480b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require_relative '../../spec_helper'
require_relative '../../shared/file/exist'
describe "File.exist?" do
it_behaves_like :file_exist, :exist?, File
end
ruby_version_is "3.2" do
describe "File.exists?" do
it "has been removed" do
File.should_not.respond_to?(:exists?)
end
end
end
|