2018-03-04 10:09:32 -05:00
|
|
|
require_relative '../../dir/fixtures/common'
|
2017-05-07 08:04:49 -04:00
|
|
|
|
|
|
|
describe :open_directory, shared: true do
|
|
|
|
it "opens directories" do
|
|
|
|
file = File.send(@method, tmp(""))
|
|
|
|
begin
|
|
|
|
file.should be_kind_of(File)
|
|
|
|
ensure
|
|
|
|
file.close
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|