Explorar el Código

Merge pull request #366 from mhaskel/fix_unit_tests

We aren't truncating in the type
Hunter Haugen hace 10 años
padre
commit
73867f03b5
Se han modificado 1 ficheros con 2 adiciones y 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