Merge pull request #657 from puppetlabs/binford2k-patch-1
[puppet-modules/puppetlabs-apt.git] / spec / defines / pin_spec.rb
index 4f51cf3d715c181bb41b7ebc274faa937fc8376c..50890fcf6b8be39d4fa8991dbe8285be2e2bd561 100644 (file)
@@ -84,7 +84,7 @@ describe 'apt::pin', :type => :define do
       it do
         expect {
           subject.call
-        }.to raise_error(Puppet::Error, /expects a value of type Integer/)
+        }.to raise_error(Puppet::Error, /expects an Integer value, got String/)
       end
     end