File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,8 @@ class { 'mysql::server::backup':
53
53
end
54
54
55
55
it 'displays Japanese failure' do
56
- pending 'waiting on japanese translation in the po file'
57
56
apply_manifest ( pp , catch_failures : true ) do |r |
58
- expect ( r . stderr ) . not_to match ( %r{The 'prescript' option is not currently implemented for the mysqldump backup provider. }i )
57
+ expect ( r . stderr ) . to match ( %r{'prescript'オプションは、現在、mysqldumpバックアッププロバイダ向けには実装されていません。 }i )
59
58
end
60
59
end
61
60
end
@@ -82,14 +81,15 @@ class { 'mysql::server::backup':
82
81
context 'when triggering ruby interpolated string error' do
83
82
let ( :pp ) do
84
83
<<-EOS
85
- $password_hash = mysql_password('new_password', 'should not have second parameter')
86
- EOS
84
+ mysql_user{ '"name@localhost':
85
+ ensure => 'present',
86
+ }
87
+ EOS
87
88
end
88
89
89
90
it 'displays Japanese error' do
90
- pending 'waiting on japanese translation in the po file'
91
- apply_manifest ( pp , catch_error : true ) do |r |
92
- expect ( r . stderr ) . not_to match ( %r{mysql_password(): Wrong number of arguments given (2 for 1)}i )
91
+ apply_manifest ( pp , expect_failures : true ) do |r |
92
+ expect ( r . stderr ) . to match ( %r{無効なデータベースのユーザ"name@localhost}i )
93
93
end
94
94
end
95
95
end
You can’t perform that action at this time.
0 commit comments