diff options
Diffstat (limited to 'spec/install/security_policy_spec.rb')
-rw-r--r-- | spec/install/security_policy_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/install/security_policy_spec.rb b/spec/install/security_policy_spec.rb index b886362c40..7e2c320b80 100644 --- a/spec/install/security_policy_spec.rb +++ b/spec/install/security_policy_spec.rb @@ -19,7 +19,7 @@ describe "policies with unsigned gems" do bundle "install --deployment" bundle :install expect(exitstatus).to eq(0) if exitstatus - expect(the_bundle).to have_installed "rack 1.0", "signed_gem 1.0" + expect(the_bundle).to include_gems "rack 1.0", "signed_gem 1.0" end it "will fail when given invalid security policy" do @@ -66,12 +66,12 @@ describe "policies with signed gems and no CA" do it "will succeed with Low Security setting, low security accepts self signed gem" do bundle "install --trust-policy=LowSecurity" expect(exitstatus).to eq(0) if exitstatus - expect(the_bundle).to have_installed "signed_gem 1.0" + expect(the_bundle).to include_gems "signed_gem 1.0" end it "will succeed with no policy" do bundle "install" expect(exitstatus).to eq(0) if exitstatus - expect(the_bundle).to have_installed "signed_gem 1.0" + expect(the_bundle).to include_gems "signed_gem 1.0" end end |