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

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

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