+ # rubocop:enable RSpec/MultipleExpectations
+ end
+
+ context 'destroy user resource' do
+ it 'runs successfully' do
+ pp = <<-EOS
+ rabbitmq_user { 'dan':
+ ensure => absent,
+ }
+ EOS
+
+ apply_manifest(pp, catch_failures: true)
+ apply_manifest(pp, catch_changes: true)
+ end