summaryrefslogtreecommitdiff
path: root/spec/ruby/core/file/exist_spec.rb
blob: b5600e5b078108796a66b0f743739aeb82eb6cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require_relative '../../spec_helper'
require_relative '../../shared/file/exist'

describe "File.exist?" do
  it_behaves_like :file_exist, :exist?, File
end

describe "File.exists?" do
  it "has been removed" do
    File.should_not.respond_to?(:exists?)
  end
end