diff options
Diffstat (limited to 'spec/ruby/core/dir/exist_spec.rb')
-rw-r--r-- | spec/ruby/core/dir/exist_spec.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/ruby/core/dir/exist_spec.rb b/spec/ruby/core/dir/exist_spec.rb new file mode 100644 index 0000000000..194284b5a0 --- /dev/null +++ b/spec/ruby/core/dir/exist_spec.rb @@ -0,0 +1,15 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../fixtures/common', __FILE__) +require File.expand_path('../shared/exist', __FILE__) + +describe "Dir.exist?" do + before :all do + DirSpecs.create_mock_dirs + end + + after :all do + DirSpecs.delete_mock_dirs + end + + it_behaves_like(:dir_exist, :exist?) +end |