summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2018-09-28 10:32:33 -0300
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2018-10-03 08:48:57 -0300
commit7289aadc249e361a4b4fb97b59289ad105048028 (patch)
treeafce03a67cea07de9a7f3824bb011d52edc4c023
parentdd96e3f1d51ce10b9632afd8a2563357fdbd1451 (diff)
downloadbundler-spec_reset_state_and_refactorings.tar.gz
Remove unnecessary installs from git specsspec_reset_state_and_refactorings
-rw-r--r--spec/install/gemfile/git_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb
index edfda90d93..9688ba7ec3 100644
--- a/spec/install/gemfile/git_spec.rb
+++ b/spec/install/gemfile/git_spec.rb
@@ -1009,13 +1009,11 @@ RSpec.describe "bundle install with git sources" do
install_gemfile <<-G
gem "foo", :git => "file://#{lib_path("foo-1.0")}", :ref => "#{revision}"
G
- bundle "install"
expect(out).to_not match(/Revision.*does not exist/)
install_gemfile <<-G
gem "foo", :git => "file://#{lib_path("foo-1.0")}", :ref => "deadbeef"
G
- bundle "install"
expect(out).to include("Revision deadbeef does not exist in the repository")
end
end
@@ -1325,7 +1323,6 @@ In Gemfile:
end
G
- bundle :install
expect(last_command.stdboth).to_not include("password1")
expect(last_command.stdout).to include("Fetching https://user1@github.com/company/private-repo")
end
@@ -1341,7 +1338,6 @@ In Gemfile:
end
G
- bundle :install
expect(last_command.stdboth).to_not include("oauth_token")
expect(last_command.stdout).to include("Fetching https://x-oauth-basic@github.com/company/private-repo")
end