aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/dir/mkdir_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2019-09-29 19:13:37 +0200
committerBenoit Daloze <eregontp@gmail.com>2019-09-29 19:13:37 +0200
commit070cbe22b70ec2bec36c7cfc84b726510afa306f (patch)
tree56cee87834c85bd9f358ebee51bab4893fb9952f /spec/ruby/core/dir/mkdir_spec.rb
parentd51b4e34fbdbe1a845aa2251b1fa3304de809b32 (diff)
downloadruby-070cbe22b70ec2bec36c7cfc84b726510afa306f.tar.gz
Update to ruby/spec@34e6246
Diffstat (limited to 'spec/ruby/core/dir/mkdir_spec.rb')
-rw-r--r--spec/ruby/core/dir/mkdir_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/dir/mkdir_spec.rb b/spec/ruby/core/dir/mkdir_spec.rb
index 58767a5aa0..c6e2f164e2 100644
--- a/spec/ruby/core/dir/mkdir_spec.rb
+++ b/spec/ruby/core/dir/mkdir_spec.rb
@@ -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