Merge pull request #366 from mhaskel/fix_unit_tests

We aren't truncating in the type
This commit is contained in:
Hunter Haugen 2014-10-01 11:55:20 -07:00
commit 73867f03b5

View file

@ -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