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/install/prereleases_spec.rb | |
parent | 9d43a0504023926e8457832d0841d8d44a6217c5 (diff) | |
download | bundler-220695122ff4de38a941afb8153f18f8b6667658.tar.gz |
Use `include_gem` as the matcher name
Diffstat (limited to 'spec/install/prereleases_spec.rb')
-rw-r--r-- | spec/install/prereleases_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/prereleases_spec.rb b/spec/install/prereleases_spec.rb index 05756ff395..cbf99ca96f 100644 --- a/spec/install/prereleases_spec.rb +++ b/spec/install/prereleases_spec.rb @@ -8,7 +8,7 @@ describe "bundle install" do source "file://#{gem_repo1}" gem "not_released" G - expect(the_bundle).to have_installed "not_released 1.0.pre" + expect(the_bundle).to include_gems "not_released 1.0.pre" end it "uses regular releases if available" do @@ -16,7 +16,7 @@ describe "bundle install" do source "file://#{gem_repo1}" gem "has_prerelease" G - expect(the_bundle).to have_installed "has_prerelease 1.0" + expect(the_bundle).to include_gems "has_prerelease 1.0" end it "uses prereleases if requested" do @@ -24,7 +24,7 @@ describe "bundle install" do source "file://#{gem_repo1}" gem "has_prerelease", "1.1.pre" G - expect(the_bundle).to have_installed "has_prerelease 1.1.pre" + expect(the_bundle).to include_gems "has_prerelease 1.1.pre" end end @@ -36,7 +36,7 @@ describe "bundle install" do gem "rack" G - expect(the_bundle).to have_installed "rack 1.0" + expect(the_bundle).to include_gems "rack 1.0" end end end |