aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/shared/file/world_readable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/file/world_readable.rb')
-rw-r--r--spec/ruby/shared/file/world_readable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/file/world_readable.rb b/spec/ruby/shared/file/world_readable.rb
index 0fd5a28397..85761e633f 100644
--- a/spec/ruby/shared/file/world_readable.rb
+++ b/spec/ruby/shared/file/world_readable.rb
@@ -37,7 +37,7 @@ describe :file_world_readable, shared: true do
it "returns a Fixnum if the file is a directory and chmod 644" do
dir = rand().to_s + '-ww'
Dir.mkdir(dir)
- Dir.exist?(dir).should be_true
+ Dir.should.exist?(dir)
File.chmod(0644, dir)
@object.world_readable?(dir).should be_an_instance_of(Fixnum)
Dir.rmdir(dir)