mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@519df35
This commit is contained in:
parent
31bb66a19d
commit
1c938a72aa
83 changed files with 1416 additions and 308 deletions
|
@ -52,7 +52,7 @@ describe :dir_open, shared: true do
|
|||
options = mock("dir_open")
|
||||
options.should_receive(:to_hash).and_return({ encoding: Encoding::UTF_8 })
|
||||
|
||||
dir = Dir.send(@method, DirSpecs.mock_dir, options) {|d| d }
|
||||
dir = Dir.send(@method, DirSpecs.mock_dir, **options) {|d| d }
|
||||
dir.should be_kind_of(Dir)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue