Fix RSpec3.x keywords

Replace should by is_expected.to.
Introduced by 70d33d7a687fc06fbb22674a678703d11717b693

Change-Id: I761af09544054993d1d2e5d67ef72cae4351eb74
This commit is contained in:
Sebastien Badia 2015-05-05 15:03:51 +02:00
parent 54802658ad
commit 34ec23cff5

View File

@ -98,9 +98,9 @@ describe 'nova::compute::libvirt' do
:migration_support => true }
end
it { should contain_class('nova::migration::libvirt')}
it { should contain_nova_config('DEFAULT/vncserver_listen').with_value('::0')}
it { should contain_file_line('/etc/default/libvirt-bin libvirtd opts').with(:line => 'libvirtd_opts="-d -l"') }
it { is_expected.to contain_class('nova::migration::libvirt')}
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('::0')}
it { is_expected.to contain_file_line('/etc/default/libvirt-bin libvirtd opts').with(:line => 'libvirtd_opts="-d -l"') }
end
context 'with vncserver_listen not set to 0.0.0.0' do