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:
Bogdan Dobrelya 2015-02-10 11:07:07 +01:00
parent 537ed9e375
commit 433cf87127
1 changed files with 3 additions and 3 deletions

View File

@ -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\\\'\'',
])