Explorar o código

Merge pull request #366 from mhaskel/fix_unit_tests

We aren't truncating in the type
Hunter Haugen %!s(int64=10) %!d(string=hai) anos
pai
achega
73867f03b5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      spec/unit/puppet/type/apt_key_spec.rb

+ 2 - 2
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