From: Morgan Haskel Date: Wed, 1 Oct 2014 18:46:14 +0000 (-0500) Subject: We aren't truncating in the type X-Git-Tag: 1.8.0~47^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=febda27623b2033a1401c8c55e575bfba8997c85;p=puppet-modules%2Fpuppetlabs-apt.git We aren't truncating in the type So don't check for truncated IDs in the type test. --- diff --git a/spec/unit/puppet/type/apt_key_spec.rb b/spec/unit/puppet/type/apt_key_spec.rb index c29f82b..e661ba1 100644 --- a/spec/unit/puppet/type/apt_key_spec.rb +++ b/spec/unit/puppet/type/apt_key_spec.rb @@ -41,7 +41,7 @@ describe Puppet::Type::type(:apt_key) do :id => 'FFFFFFFF4BD6EC30' )} it 'id is set' do - resource[:id].should eq '4BD6EC30' + resource[:id].should eq 'FFFFFFFF4BD6EC30' end end @@ -68,7 +68,7 @@ describe Puppet::Type::type(:apt_key) do :id => '0xFFFFFFFF4BD6EC30' )} it 'id is set' do - resource[:id].should eq '4BD6EC30' + resource[:id].should eq 'FFFFFFFF4BD6EC30' end end