From febda27623b2033a1401c8c55e575bfba8997c85 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Wed, 1 Oct 2014 13:46:14 -0500 Subject: [PATCH] We aren't truncating in the type So don't check for truncated IDs in the type test. --- spec/unit/puppet/type/apt_key_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2