summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 13:01:13 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:58 +0900
commit3e10b4a0be0de22fc0871a6fab65139c43c69180 (patch)
tree66dc02c7995201ad4b64660016631f2c45c74f46 /spec
parent3e83fbddfacafd1467bfcae818d595c6e29fca5c (diff)
[bundler/bundler] Indentation fixes
https://github.com/bundler/bundler/commit/2a44090cb6
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/install/yanked_spec.rb28
1 files changed, 14 insertions, 14 deletions
diff --git a/spec/bundler/install/yanked_spec.rb b/spec/bundler/install/yanked_spec.rb
index 50839d3713..b8e54dc807 100644
--- a/spec/bundler/install/yanked_spec.rb
+++ b/spec/bundler/install/yanked_spec.rb
@@ -23,8 +23,8 @@ RSpec.context "when installing a bundle that includes yanked gems" do
L
install_gemfile <<-G
- source "#{file_uri_for(gem_repo4)}"
- gem "foo", "10.0.0"
+ source "#{file_uri_for(gem_repo4)}"
+ gem "foo", "10.0.0"
G
expect(err).to include("Your bundle is locked to foo (10.0.0)")
@@ -32,8 +32,8 @@ RSpec.context "when installing a bundle that includes yanked gems" do
it "throws the original error when only the Gemfile specifies a gem version that doesn't exist" do
install_gemfile <<-G
- source "#{file_uri_for(gem_repo4)}"
- gem "foo", "10.0.0"
+ source "#{file_uri_for(gem_repo4)}"
+ gem "foo", "10.0.0"
G
expect(err).not_to include("Your bundle is locked to foo (10.0.0)")
@@ -44,21 +44,21 @@ end
RSpec.context "when using gem before installing" do
it "does not suggest the author has yanked the gem" do
gemfile <<-G
- source "#{file_uri_for(gem_repo1)}"
- gem "rack", "0.9.1"
+ source "#{file_uri_for(gem_repo1)}"
+ gem "rack", "0.9.1"
G
lockfile <<-L
- GEM
- remote: #{file_uri_for(gem_repo1)}
- specs:
- rack (0.9.1)
+ GEM
+ remote: #{file_uri_for(gem_repo1)}
+ specs:
+ rack (0.9.1)
- PLATFORMS
- ruby
+ PLATFORMS
+ ruby
- DEPENDENCIES
- rack (= 0.9.1)
+ DEPENDENCIES
+ rack (= 0.9.1)
L
bundle :list