We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95f2a9f commit 6e6075eCopy full SHA for 6e6075e
spec/classes/mysql_server_spec.rb
@@ -198,16 +198,6 @@
198
it { is_expected.not_to contain_mysql_user('root@localhost') }
199
it { is_expected.not_to contain_file('/root/.my.cnf') }
200
end
201
- describe 'when install_secret_file set to /root/.mysql_secret' do
202
- let(:params) { { install_secret_file: '/root/.mysql_secret' } }
203
-
204
- it {
205
- is_expected.to contain_exec('remove install pass').with(
206
- command: 'mysqladmin -u root --password=$(grep -o \'[^ ]\\+$\' /root/.mysql_secret) password \'\' && rm -f /root/.mysql_secret',
207
- onlyif: 'test -f /root/.mysql_secret',
208
- )
209
- }
210
- end
211
212
213
context 'mysql::server::providers' do
0 commit comments