We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e271d85 commit 2fd2a90Copy full SHA for 2fd2a90
1 file changed
spec/defines/pip_spec.rb
@@ -116,6 +116,14 @@
116
117
it { is_expected.to contain_exec('pip_uninstall_rpyc').with_command(%r{uninstall.*rpyc$}) }
118
end
119
+
120
+ context 'passes correct package name' do
121
+ let(:params) { { ensure: 'absent', 'pkgname': 'r-pyc' } }
122
123
+ it { is_expected.not_to contain_exec('pip_install_rpyc') }
124
125
+ it { is_expected.to contain_exec('pip_uninstall_rpyc').with_command(%r{uninstall.*r-pyc$}) }
126
+ end
127
128
129
0 commit comments