summaryrefslogtreecommitdiff
path: root/spec/cache
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-06-21 13:33:52 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-06-23 12:43:54 -0500
commitde775593ffc43e97e3d5adec3837a1eee4c3b74b (patch)
tree2ec3cd9f8375c4c16982e80e486bb7dfa662a99d /spec/cache
parent87370195728549ed989ca8b63bf6bd30b1702819 (diff)
downloadbundler-de775593ffc43e97e3d5adec3837a1eee4c3b74b.tar.gz
Get the specs passing in 1.0 mode
Diffstat (limited to 'spec/cache')
-rw-r--r--spec/cache/git_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/cache/git_spec.rb b/spec/cache/git_spec.rb
index 59eaa51679..8f12028ffc 100644
--- a/spec/cache/git_spec.rb
+++ b/spec/cache/git_spec.rb
@@ -52,14 +52,14 @@ end
it "runs twice without exploding" do
build_git "foo"
- install_gemfile <<-G
+ install_gemfile! <<-G
gem "foo", :git => '#{lib_path("foo-1.0")}'
G
- bundle "#{cmd} --all"
- bundle "#{cmd} --all"
+ bundle! "#{cmd} --all"
+ bundle! "#{cmd} --all"
- expect(err).to lack_errors
+ expect(last_command.stdout).to include "Updating files in vendor/cache"
FileUtils.rm_rf lib_path("foo-1.0")
expect(the_bundle).to include_gems "foo 1.0"
end