Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 0c963e3

Browse files
committed
Fix failing spec tests
1 parent adf6b37 commit 0c963e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

spec/defines/pip_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
describe "proxy as" do
3535
context "defaults to empty" do
3636
let (:params) {{ }}
37-
it { is_expected.to contain_exec("pip_install_rpyc").without_command(/--proxy/) }
37+
it { should_not contain_exec("pip_install_rpyc").with_command(/--proxy/) }
3838
end
3939
context "does not add proxy to search command if set to latest and proxy is unset" do
4040
let (:params) {{ :ensure => 'latest' }}
41-
it { is_expected.to contain_exec("pip_install_rpyc").without_command(/--proxy/) }
41+
it { should_not contain_exec("pip_install_rpyc").with_command(/--proxy/) }
4242
it { is_expected.to contain_exec("pip_install_rpyc").without_unless(/--proxy/) }
4343
end
4444
context "adds proxy to install command if proxy set" do
@@ -55,7 +55,7 @@
5555
describe 'index as' do
5656
context 'defaults to empty' do
5757
let (:params) {{ }}
58-
it { is_expected.to contain_exec('pip_install_rpyc').without_command(/--index-url/) }
58+
it { should_not contain_exec('pip_install_rpyc').with_command(/--index-url/) }
5959
end
6060
context 'adds index to install command if index set' do
6161
let (:params) {{ :index => 'http://www.example.com/simple/' }}

0 commit comments

Comments
 (0)