summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoggs <hello@boggs.xyz>2016-07-26 08:43:37 +0800
committerBoggs <hello@boggs.xyz>2016-08-02 03:44:46 +0800
commit32404186ae59160d575fb368610d61e17ab1cad1 (patch)
treeb78e081e983ddd2fd801f167a1a701f53b38b545
parent2cf6a8a5c411a8a13d7a21c50675b8f845ccda93 (diff)
downloadbundler-32404186ae59160d575fb368610d61e17ab1cad1.tar.gz
Update failing spec
Fix rubocop offense
-rw-r--r--lib/bundler/postit_trampoline.rb2
-rw-r--r--spec/other/trampoline_spec.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/postit_trampoline.rb b/lib/bundler/postit_trampoline.rb
index 40f48ec68e..8023804918 100644
--- a/lib/bundler/postit_trampoline.rb
+++ b/lib/bundler/postit_trampoline.rb
@@ -21,7 +21,7 @@ if ENV["BUNDLE_ENABLE_TRAMPOLINE"]
begin
installer = BundlerVendoredPostIt::PostIt::Installer.new(version)
unless installer.installed?
- warn "Installing locked Bundler version #{version}"
+ warn "Installing locked Bundler version #{version}"
installer.install!
end
rescue => e
diff --git a/spec/other/trampoline_spec.rb b/spec/other/trampoline_spec.rb
index 7d0e12d5ba..6b0a0b67a7 100644
--- a/spec/other/trampoline_spec.rb
+++ b/spec/other/trampoline_spec.rb
@@ -84,6 +84,7 @@ describe "bundler version trampolining" do
ENV["BUNDLER_VERSION"] = "9999"
bundle "--version", :expect_err => true
expect(err).to start_with(<<-E.strip)
+Installing locked Bundler version = 9999
Installing the inferred bundler version (= 9999) failed.
If you'd like to update to the current bundler version (#{Bundler::VERSION}) in this project, run `bundle update --bundler`.
The error was: