aboutsummaryrefslogtreecommitdiffstats
path: root/spec/runtime/load_spec.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <shibata.hiroshi@gmail.com>2014-02-09 16:55:59 +0900
committerSHIBATA Hiroshi <shibata.hiroshi@gmail.com>2014-02-09 16:55:59 +0900
commit95370a5c3eb96fee75dfb7852724b31cbf3e95e0 (patch)
treeb82ee314f146dbdb0e10d73b22eab1909d44b4e8 /spec/runtime/load_spec.rb
parent662e11c6e41286d4b608de645894a9c9c93cbd9b (diff)
downloadbundler-95370a5c3eb96fee75dfb7852724b31cbf3e95e0.tar.gz
use File.exist? instead of File.exists?
Diffstat (limited to 'spec/runtime/load_spec.rb')
-rw-r--r--spec/runtime/load_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb
index 8a53be56..cc2cebf8 100644
--- a/spec/runtime/load_spec.rb
+++ b/spec/runtime/load_spec.rb
@@ -53,7 +53,7 @@ describe "Bundler.load" do
it "does not find a Gemfile above the testing directory" do
bundler_gemfile = tmp.join("../Gemfile")
- unless File.exists?(bundler_gemfile)
+ unless File.exist?(bundler_gemfile)
FileUtils.touch(bundler_gemfile)
@remove_bundler_gemfile = true
end