fix specs to align with new ops-database mysql connection syntax
Change-Id: I614c72ff33765e84ba4141234e32d575f09891a9
This commit is contained in:
parent
5d7a11aeb3
commit
a0635f0804
@ -113,7 +113,7 @@ describe 'openstack-image::api' do
|
||||
|
||||
it do
|
||||
[
|
||||
%r{^connection = mysql://glance:db-pass@127\.0\.0\.1:3306/glance\?charset=utf8$}
|
||||
%r{^connection = mysql\+pymysql://glance:db-pass@127\.0\.0\.1:3306/glance\?charset=utf8$}
|
||||
].each do |line|
|
||||
expect(chef_run).to render_config_file(file.name)
|
||||
.with_section_content('database', line)
|
||||
|
@ -104,7 +104,7 @@ describe 'openstack-image::registry' do
|
||||
|
||||
it do
|
||||
[
|
||||
%r{^connection = mysql://glance:db-pass@127\.0\.0\.1:3306/glance\?charset=utf8$}
|
||||
%r{^connection = mysql\+pymysql://glance:db-pass@127\.0\.0\.1:3306/glance\?charset=utf8$}
|
||||
].each do |line|
|
||||
expect(chef_run).to render_config_file(file.name)
|
||||
.with_section_content('database', line)
|
||||
|
Loading…
Reference in New Issue
Block a user