diff options
-rw-r--r-- | spec/bundler/install/yanked_spec.rb | 28 |
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 |