Skip to content

Commit 0fedc38

Browse files
author
Greg Dubicki
committed
Remove test that doesn't add value (acceptance tests do that for this command)
1 parent a45f237 commit 0fedc38

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

spec/defines/pip_spec.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@
9999

100100
it { is_expected.not_to contain_exec('pip_install_rpyc').with_unless(%r{search}) }
101101
end
102-
context 'uses a special command to check if latest package is already installed in unless' do
103-
let(:params) { { ensure: 'latest' } }
104-
105-
it { is_expected.to contain_exec('pip_install_rpyc').with_unless('[ $(pip install rpyc==notreallyaversion 2>&1 | grep -oP \"\(from versions: .*\)\" | sed -E \"s/\(from versions: (.*?, )*(.*)\)/\2/g\" | tr -d \"[:space:]\") = $(pip freeze --all | grep -i -e ^rpyc== | cut -d= -f3 | tr -d \'[:space:]\') ]') }
106-
end
107102
context 'checks installed version of a package by converting underscores in its name to dashes' do
108103
let(:params) { { ensure: 'latest', pkgname: 'wordpress_json' } }
109104

0 commit comments

Comments
 (0)