mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@34e6246
This commit is contained in:
parent
d51b4e34fb
commit
070cbe22b7
35 changed files with 127 additions and 133 deletions
|
@ -14,9 +14,9 @@ describe "Dir.mkdir" do
|
|||
DirSpecs.clear_dirs
|
||||
|
||||
begin
|
||||
File.exist?('nonexisting').should == false
|
||||
File.should_not.exist?('nonexisting')
|
||||
Dir.mkdir 'nonexisting'
|
||||
File.exist?('nonexisting').should == true
|
||||
File.should.exist?('nonexisting')
|
||||
platform_is_not :windows do
|
||||
Dir.mkdir 'default_perms'
|
||||
a = File.stat('default_perms').mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue