diff options
Diffstat (limited to 'spec/install/gemfile/git_spec.rb')
-rw-r--r-- | spec/install/gemfile/git_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb index 14910e64db..4933727b36 100644 --- a/spec/install/gemfile/git_spec.rb +++ b/spec/install/gemfile/git_spec.rb @@ -27,7 +27,7 @@ describe "bundle install with git sources" do end it "caches the git repo" do - expect(Dir["#{default_bundle_path}/cache/bundler/git/foo-1.0-*"]).to have(1).item + expect(Dir["#{default_bundle_path}/cache/bundler/git/foo-1.0-*"].size).to eq(1) end it "caches the evaluated gemspec" do |