This repository was archived by the owner on Oct 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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/' } }
You can’t perform that action at this time.
0 commit comments