summaryrefslogtreecommitdiff
path: root/spec/hosts/simple_debian_wheezy_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/hosts/simple_debian_wheezy_spec.rb')
-rw-r--r--spec/hosts/simple_debian_wheezy_spec.rb28
1 files changed, 14 insertions, 14 deletions
diff --git a/spec/hosts/simple_debian_wheezy_spec.rb b/spec/hosts/simple_debian_wheezy_spec.rb
index f301038..3e20db0 100644
--- a/spec/hosts/simple_debian_wheezy_spec.rb
+++ b/spec/hosts/simple_debian_wheezy_spec.rb
@@ -11,16 +11,16 @@ describe 'simple_debian_wheezy' do
} }
context 'when versions are not specified' do
- it { should contain_package('libaugeas0').with(
+ it { is_expected.to contain_package('libaugeas0').with(
:ensure => 'present'
) }
- it { should contain_package('augeas-tools').with(
+ it { is_expected.to contain_package('augeas-tools').with(
:ensure => 'present'
) }
- it { should contain_package('augeas-lenses').with(
+ it { is_expected.to contain_package('augeas-lenses').with(
:ensure => 'present'
) }
- it { should contain_package('ruby-augeas').with(
+ it { is_expected.to contain_package('ruby-augeas').with(
:ensure => 'present',
:name => 'libaugeas-ruby1.9.1'
) }
@@ -36,16 +36,16 @@ describe 'simple_debian_wheezy' do
:augeas_ruby_version => '3.2.1',
} }
- it { should contain_package('libaugeas0').with(
+ it { is_expected.to contain_package('libaugeas0').with(
:ensure => '1.2.3'
) }
- it { should contain_package('augeas-tools').with(
+ it { is_expected.to contain_package('augeas-tools').with(
:ensure => '1.2.3'
) }
- it { should contain_package('augeas-lenses').with(
+ it { is_expected.to contain_package('augeas-lenses').with(
:ensure => '1.2.3'
) }
- it { should contain_package('ruby-augeas').with(
+ it { is_expected.to contain_package('ruby-augeas').with(
:ensure => '3.2.1',
:name => 'libaugeas-ruby1.9.1'
) }
@@ -60,18 +60,18 @@ describe 'simple_debian_wheezy' do
:rubyversion => '1.9.1',
} }
- it { should contain_file('/usr/share/augeas/lenses').with(
+ it { is_expected.to contain_file('/usr/share/augeas/lenses').with(
:ensure => 'directory',
:purge => 'true',
:force => 'true',
:recurse => 'true',
:recurselimit => 1
) }
- it { should contain_file('/usr/share/augeas/lenses/dist').with(
+ it { is_expected.to contain_file('/usr/share/augeas/lenses/dist').with(
:ensure => 'directory',
:purge => 'false'
) }
- it { should contain_file('/usr/share/augeas/lenses/tests').with(
+ it { is_expected.to contain_file('/usr/share/augeas/lenses/tests').with(
:ensure => 'directory',
:purge => 'true',
:force => 'true'
@@ -88,18 +88,18 @@ describe 'simple_debian_wheezy' do
:rubyversion => '1.9.1',
} }
- it { should contain_file('/opt/augeas/lenses').with(
+ it { is_expected.to contain_file('/opt/augeas/lenses').with(
:ensure => 'directory',
:purge => 'true',
:force => 'true',
:recurse => 'true',
:recurselimit => 1
) }
- it { should contain_file('/opt/augeas/lenses/dist').with(
+ it { is_expected.to contain_file('/opt/augeas/lenses/dist').with(
:ensure => 'directory',
:purge => 'false'
) }
- it { should contain_file('/opt/augeas/lenses/tests').with(
+ it { is_expected.to contain_file('/opt/augeas/lenses/tests').with(
:ensure => 'directory',
:purge => 'true',
:force => 'true'