aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/dir/shared/exist.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/dir/shared/exist.rb')
-rw-r--r--spec/ruby/core/dir/shared/exist.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/dir/shared/exist.rb b/spec/ruby/core/dir/shared/exist.rb
index fbd2c9862d..765d1b656c 100644
--- a/spec/ruby/core/dir/shared/exist.rb
+++ b/spec/ruby/core/dir/shared/exist.rb
@@ -39,7 +39,7 @@ describe :dir_exist, shared: true do
end
it "returns false if the argument exists but is a file" do
- File.exist?(__FILE__).should be_true
+ File.should.exist?(__FILE__)
Dir.send(@method, __FILE__).should be_false
end