spec/gentoo/package_spec.rb in serverspec-0.7.11 vs spec/gentoo/package_spec.rb in serverspec-0.7.12

- old
+ new

@@ -63,5 +63,14 @@ end describe package('mongo') do it { should_not be_installed.by('pecl').with_version('invalid-version') } end + +describe package('supervisor') do + it { should be_installed.by('pip').with_version('3.0') } + its(:command) { should eq "pip list | grep -w -- \\^supervisor | grep -w -- 3.0" } +end + +describe package('invalid-pip') do + it { should_not be_installed.by('pip').with_version('invalid-version') } +end