diff options
Diffstat (limited to 'spec/ruby/core/file/shared/path.rb')
-rw-r--r-- | spec/ruby/core/file/shared/path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/shared/path.rb b/spec/ruby/core/file/shared/path.rb index 772272909c..503e485f1e 100644 --- a/spec/ruby/core/file/shared/path.rb +++ b/spec/ruby/core/file/shared/path.rb @@ -69,7 +69,7 @@ describe :file_path, shared: true do File.open(@dir, File::RDWR | File::TMPFILE) do |f| -> { f.send(@method) }.should raise_error(IOError) end - rescue Errno::EOPNOTSUPP, Errno::EINVAL + rescue Errno::EOPNOTSUPP, Errno::EINVAL, Errno::EISDIR # EOPNOTSUPP: no support from the filesystem 1.should == 1 end |