Fix Rspec 3.x new is_expected.[to|to_not] keywords
Some 'should' keyword have been forgotten during the rspec2.x to rspec3.x updates. This patch fixes that! Change-Id: I9cbec83b58eea6e417af6418b99cf3338c463ba7 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
parent
7ad2a10e1f
commit
06addb7b3b
@ -150,18 +150,18 @@ describe 'swift::keystone::auth' do
|
||||
})
|
||||
end
|
||||
it 'configures correct user name' do
|
||||
should contain_keystone_user('swift')
|
||||
is_expected.to contain_keystone_user('swift')
|
||||
end
|
||||
it 'configures correct user role' do
|
||||
should contain_keystone_user_role('swift@services')
|
||||
is_expected.to contain_keystone_user_role('swift@services')
|
||||
end
|
||||
it 'configures correct service name' do
|
||||
should contain_keystone_service('swift_service')
|
||||
should contain_keystone_service('swift_service_s3')
|
||||
is_expected.to contain_keystone_service('swift_service')
|
||||
is_expected.to contain_keystone_service('swift_service_s3')
|
||||
end
|
||||
it 'configures correct endpoint name' do
|
||||
should contain_keystone_endpoint('RegionOne/swift_service')
|
||||
should contain_keystone_endpoint('RegionOne/swift_service_s3')
|
||||
is_expected.to contain_keystone_endpoint('RegionOne/swift_service')
|
||||
is_expected.to contain_keystone_endpoint('RegionOne/swift_service_s3')
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user