summaryrefslogtreecommitdiff
path: root/spec/install/gemfile/install_if.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/gemfile/install_if.rb')
-rw-r--r--spec/install/gemfile/install_if.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/install/gemfile/install_if.rb b/spec/install/gemfile/install_if.rb
index 4140ad6f37..b1717ad583 100644
--- a/spec/install/gemfile/install_if.rb
+++ b/spec/install/gemfile/install_if.rb
@@ -15,9 +15,9 @@ describe "bundle install with install_if conditionals" do
gem "rack"
G
- expect(the_bundle).to have_installed("rack 1.0", "activesupport 2.3.5")
- expect(the_bundle).not_to have_installed("thin")
- expect(the_bundle).not_to have_installed("foo")
+ expect(the_bundle).to include_gems("rack 1.0", "activesupport 2.3.5")
+ expect(the_bundle).not_to include_gems("thin")
+ expect(the_bundle).not_to include_gems("foo")
lockfile_should_be <<-L
GEM