Skip to content

Commit f009d68

Browse files
committed
Fix mysql_grant acceptance test
mysql_grant now checks for mysql command
1 parent 79d5b4f commit f009d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/types/mysql_grant_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ class { 'mysql::server':
617617

618618
mysql_cmd = shell('which mysql').stdout.chomp
619619
shell("mv #{mysql_cmd} #{mysql_cmd}.bak")
620-
expect(apply_manifest(pp, expect_failures: true).stderr).to match(%r{Command mysql is missing})
620+
expect(apply_manifest(pp, expect_failures: true).stderr).to match(%r{Could not find a suitable provider for mysql_grant})
621621
shell("mv #{mysql_cmd}.bak #{mysql_cmd}")
622622
end
623623

0 commit comments

Comments
 (0)