summaryrefslogtreecommitdiff
path: root/spec/install/bundler_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/bundler_spec.rb')
-rw-r--r--spec/install/bundler_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/install/bundler_spec.rb b/spec/install/bundler_spec.rb
index 688f855d68..9f06a48086 100644
--- a/spec/install/bundler_spec.rb
+++ b/spec/install/bundler_spec.rb
@@ -19,7 +19,7 @@ describe "bundle install" do
gem "rails", "3.0"
G
- expect(the_bundle).to have_installed "bundler #{Bundler::VERSION}"
+ expect(the_bundle).to include_gems "bundler #{Bundler::VERSION}"
end
it "are not added if not already present" do
@@ -27,7 +27,7 @@ describe "bundle install" do
source "file://#{gem_repo1}"
gem "rack"
G
- expect(the_bundle).not_to have_installed "bundler #{Bundler::VERSION}"
+ expect(the_bundle).not_to include_gems "bundler #{Bundler::VERSION}"
end
it "causes a conflict if explicitly requesting a different version" do
@@ -71,7 +71,7 @@ describe "bundle install" do
gem "rack"
G
- expect(the_bundle).to have_installed "multiple_versioned_deps 1.0.0"
+ expect(the_bundle).to include_gems "multiple_versioned_deps 1.0.0"
end
it "includes bundler in the bundle when it's a child dependency" do