diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-02 15:01:29 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-02 15:04:28 -0500 |
commit | 220695122ff4de38a941afb8153f18f8b6667658 (patch) | |
tree | 03208226045886acf6801f4cb5fbd81e93c2b494 /spec/update | |
parent | 9d43a0504023926e8457832d0841d8d44a6217c5 (diff) | |
download | bundler-220695122ff4de38a941afb8153f18f8b6667658.tar.gz |
Use `include_gem` as the matcher name
Diffstat (limited to 'spec/update')
-rw-r--r-- | spec/update/git_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb index 6228e25e..882af27f 100644 --- a/spec/update/git_spec.rb +++ b/spec/update/git_spec.rb @@ -19,7 +19,7 @@ describe "bundle update" do bundle "update" - expect(the_bundle).to have_installed "foo 1.1" + expect(the_bundle).to include_gems "foo 1.1" end it "updates correctly when you have like craziness" do @@ -34,7 +34,7 @@ describe "bundle update" do bundle "update rails" expect(out).to include("Using activesupport 3.0 from #{lib_path("rails")} (at master@#{revision_for(lib_path("rails"))[0..6]})") - expect(the_bundle).to have_installed "rails 3.0", "activesupport 3.0" + expect(the_bundle).to include_gems "rails 3.0", "activesupport 3.0" end it "floats on a branch when :branch is used and the source is specified in the update" do @@ -53,7 +53,7 @@ describe "bundle update" do bundle "update --source foo" - expect(the_bundle).to have_installed "foo 1.1" + expect(the_bundle).to include_gems "foo 1.1" end it "floats on master when updating all gems that are pinned to the source even if you have child dependencies" do @@ -73,7 +73,7 @@ describe "bundle update" do bundle "update foo" - expect(the_bundle).to have_installed "foo 1.1" + expect(the_bundle).to include_gems "foo 1.1" end it "notices when you change the repo url in the Gemfile" do @@ -268,7 +268,7 @@ describe "bundle update" do update_git "foo", "2.0", :path => @git.path bundle "update --source foo" - expect(the_bundle).to have_installed "foo 2.0" + expect(the_bundle).to include_gems "foo 2.0" end it "leaves all other gems frozen" do @@ -276,7 +276,7 @@ describe "bundle update" do update_git "foo", :path => @git.path bundle "update --source foo" - expect(the_bundle).to have_installed "rack 1.0" + expect(the_bundle).to include_gems "rack 1.0" end end |