diff options
author | 2017-02-10 17:50:26 +0000 | |
---|---|---|
committer | 2017-02-14 16:42:14 +0000 | |
commit | 0a44474b55a96fa90b58cbdf006139ba8aa27cc0 (patch) | |
tree | c1abe0dae2e287f9d0079754231756d54cc3d52e /spec/classes/tripleo_ui_spec.rb | |
parent | e12dbec87f646c1065aea8e25d13aa50ef139e18 (diff) |
Make quotes consistent to match the sample config
Per project conventions, should use single quotes.
Also, update comments and defaults to match sample.
Change-Id: I82ddcec230e7a03965d753db60968912b8d7da5c
Closes-Bug: #1663624
Diffstat (limited to 'spec/classes/tripleo_ui_spec.rb')
-rw-r--r-- | spec/classes/tripleo_ui_spec.rb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/spec/classes/tripleo_ui_spec.rb b/spec/classes/tripleo_ui_spec.rb index 0805e58..f3a4f25 100644 --- a/spec/classes/tripleo_ui_spec.rb +++ b/spec/classes/tripleo_ui_spec.rb @@ -53,13 +53,13 @@ describe 'tripleo::ui' do ) is_expected.to contain_file('/etc/httpd/conf.d/openstack-tripleo-ui.conf').with_content(/cleaned by Puppet/) is_expected.to contain_file('/var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js') - .with_content(/"keystone": "https:\/\/127.0.0.1:443\/keystone\/v2.0"/) - .with_content(/"heat": "https:\/\/127.0.0.1:443\/heat\/v1\/%\(tenant_id\)s"/) - .with_content(/"zaqar-websocket": "wss:\/\/127.0.0.1:443\/zaqar"/) - .with_content(/"ironic": "https:\/\/127.0.0.1:443\/ironic"/) - .with_content(/"mistral": "https:\/\/127.0.0.1:443\/mistral\/v2"/) - .with_content(/"swift": "https:\/\/127.0.0.1:443\/swift\/v1\/AUTH_%\(tenant_id\)s"/) - .with_content(/"zaqar_default_queue": "tripleo"/) + .with_content(/'keystone': 'https:\/\/127.0.0.1:443\/keystone\/v2.0'/) + .with_content(/'heat': 'https:\/\/127.0.0.1:443\/heat\/v1\/%\(tenant_id\)s'/) + .with_content(/'zaqar-websocket': 'wss:\/\/127.0.0.1:443\/zaqar'/) + .with_content(/'ironic': 'https:\/\/127.0.0.1:443\/ironic'/) + .with_content(/'mistral': 'https:\/\/127.0.0.1:443\/mistral\/v2'/) + .with_content(/'swift': 'https:\/\/127.0.0.1:443\/swift\/v1\/AUTH_%\(tenant_id\)s'/) + .with_content(/'zaqar_default_queue': 'tripleo'/) end end @@ -96,13 +96,13 @@ describe 'tripleo::ui' do ) is_expected.to contain_file('/etc/httpd/conf.d/openstack-tripleo-ui.conf').with_content(/cleaned by Puppet/) is_expected.to contain_file('/var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js') - .with_content(/"keystone": "https:\/\/127.0.0.1:443\/keystone\/v2.0"/) - .with_content(/"heat": "https:\/\/127.0.0.1:443\/heat\/v1\/%\(tenant_id\)s"/) - .with_content(/"zaqar-websocket": "wss:\/\/127.0.0.1:443\/zaqar"/) - .with_content(/"ironic": "https:\/\/127.0.0.1:443\/ironic"/) - .with_content(/"mistral": "https:\/\/127.0.0.1:443\/mistral\/v2"/) - .with_content(/"swift": "https:\/\/127.0.0.1:443\/swift\/v1\/AUTH_%\(tenant_id\)s"/) - .with_content(/"zaqar_default_queue": "tripleo"/) + .with_content(/'keystone': 'https:\/\/127.0.0.1:443\/keystone\/v2.0'/) + .with_content(/'heat': 'https:\/\/127.0.0.1:443\/heat\/v1\/%\(tenant_id\)s'/) + .with_content(/'zaqar-websocket': 'wss:\/\/127.0.0.1:443\/zaqar'/) + .with_content(/'ironic': 'https:\/\/127.0.0.1:443\/ironic'/) + .with_content(/'mistral': 'https:\/\/127.0.0.1:443\/mistral\/v2'/) + .with_content(/'swift': 'https:\/\/127.0.0.1:443\/swift\/v1\/AUTH_%\(tenant_id\)s'/) + .with_content(/'zaqar_default_queue': 'tripleo'/) end end |