diff options
Diffstat (limited to 'spec/ruby/core/file/exist_spec.rb')
| -rw-r--r-- | spec/ruby/core/file/exist_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/ruby/core/file/exist_spec.rb b/spec/ruby/core/file/exist_spec.rb new file mode 100644 index 0000000000..b5600e5b07 --- /dev/null +++ b/spec/ruby/core/file/exist_spec.rb @@ -0,0 +1,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 |
