Fix verify_contents issue
Replace 'subject' to 'catalogue'. Related rspec-puppet bug https://tickets.puppetlabs.com/browse/MODULES-1514 Closes bug: #1420207 Change-Id: If398e02e5911ed1b8e177102a58be75742eccb49 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
parent
537ed9e375
commit
433cf87127
@ -9,7 +9,7 @@ describe 'openstack_extras::auth_file' do
|
||||
end
|
||||
|
||||
it 'should create a openrc file' do
|
||||
verify_contents(subject, '/root/openrc', [
|
||||
verify_contents(catalogue, '/root/openrc', [
|
||||
'export OS_NO_CACHE=\'true\'',
|
||||
'export OS_TENANT_NAME=\'openstack\'',
|
||||
'export OS_USERNAME=\'admin\'',
|
||||
@ -48,7 +48,7 @@ describe 'openstack_extras::auth_file' do
|
||||
end
|
||||
|
||||
it 'should create a openrc file' do
|
||||
verify_contents(subject, '/root/openrc', [
|
||||
verify_contents(catalogue, '/root/openrc', [
|
||||
'export OS_SERVICE_TOKEN=\'servicetoken\'',
|
||||
'export OS_SERVICE_ENDPOINT=\'http://127.0.0.2:35357/v2.0/\'',
|
||||
'export OS_NO_CACHE=\'false\'',
|
||||
@ -77,7 +77,7 @@ describe 'openstack_extras::auth_file' do
|
||||
end
|
||||
|
||||
it 'should create a openrc file' do
|
||||
verify_contents(subject, '/root/openrc', [
|
||||
verify_contents(catalogue, '/root/openrc', [
|
||||
'export OS_SERVICE_TOKEN=\'key\\\'stone\'',
|
||||
'export OS_PASSWORD=\'singlequote\\\'\'',
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user