Skip to content

Commit

Permalink
Fix verify_contents issue
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Bogdan Dobrelya committed Feb 10, 2015
1 parent 537ed9e commit 433cf87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/classes/openstack_extras_auth_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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\'',
Expand Down Expand Up @@ -48,7 +48,7 @@
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\'',
Expand Down Expand Up @@ -77,7 +77,7 @@
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\\\'\'',
])
Expand Down

0 comments on commit 433cf87

Please sign in to comment.