diff options
Diffstat (limited to 'spec/ruby/core/filetest/exist_spec.rb')
| -rw-r--r-- | spec/ruby/core/filetest/exist_spec.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/spec/ruby/core/filetest/exist_spec.rb b/spec/ruby/core/filetest/exist_spec.rb index b375d3a4b1..612ffa9fcb 100644 --- a/spec/ruby/core/filetest/exist_spec.rb +++ b/spec/ruby/core/filetest/exist_spec.rb @@ -1,6 +1,12 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/file/exist', __FILE__) +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 |
