Update to Chef Workstation 21.2.303

- Cookstyle fixes

Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/779389
Change-Id: Ib044399cb7fd28cbb874cb08f1a87ca376518e6f
Signed-off-by: Lance Albertson <lance@osuosl.org>
This commit is contained in:
Lance Albertson 2021-03-08 16:15:01 -08:00
parent 9ed88a8ff4
commit 5f40cfe1d8
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ Requirements
============
- Chef 15 or higher
- Chef Workstation 20.8.111 for testing (also includes Berkshelf for
- Chef Workstation 21.2.303 for testing (also includes Berkshelf for
cookbook dependency resolution)
Platform

View File

@ -56,7 +56,7 @@ describe 'openstack-identity::cloud_config' do
}
it 'contains auth environment variables' do
expect(chef_run).to render_file(file.name).with_content(cloud_yaml.to_yaml)
expect(chef_run).to render_file(file.name).with_content(YAML.dump(cloud_yaml))
end
context 'override auth environment variables' do
@ -86,7 +86,7 @@ describe 'openstack-identity::cloud_config' do
runner.converge(described_recipe)
end
it 'contains overridden auth environment variables' do
expect(chef_run).to render_file(file.name).with_content(cloud_yaml_override.to_yaml)
expect(chef_run).to render_file(file.name).with_content(YAML.dump(cloud_yaml_override))
end
end
end