Skip to content

Commit e961b83

Browse files
author
Ashley Penney
committed
Fix spelling of privileges across the spec file.
1 parent 731036e commit e961b83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/unit/puppet/provider/database_grant/mysql_spec.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
File.stubs(:file?).with("#{root_home}/.my.cnf").returns(true)
1818
end
1919

20-
it 'should query privilegess from the database' do
20+
it 'should query privileges from the database' do
2121
provider_class.expects(:mysql) .with(["--defaults-file=#{root_home}/.my.cnf", 'mysql', '-Be', 'describe user']).returns <<-EOT
2222
Field Type Null Key Default Extra
2323
Host char(60) NO PRI
@@ -40,15 +40,15 @@
4040
provider_class.db_privs.should == [ 'Select_priv', 'Insert_priv', 'Update_priv' ]
4141
end
4242

43-
it 'should query set priviliges' do
43+
it 'should query set privileges' do
4444
provider_class.expects(:mysql).with(["--defaults-file=#{root_home}/.my.cnf", 'mysql', '-Be', "select * from mysql.user where user='user' and host='host'"]).returns <<-EOT
4545
Host User Password Select_priv Insert_priv Update_priv
4646
host user Y N Y
4747
EOT
4848
@provider.privileges.should == [ 'Select_priv', 'Update_priv' ]
4949
end
5050

51-
it 'should recognize when all priviliges are set' do
51+
it 'should recognize when all privileges are set' do
5252
provider_class.expects(:mysql).with(["--defaults-file=#{root_home}/.my.cnf", 'mysql', '-Be', "select * from mysql.user where user='user' and host='host'"]).returns <<-EOT
5353
Host User Password Select_priv Insert_priv Update_priv
5454
host user Y Y Y

0 commit comments

Comments
 (0)