Jelajahi Sumber

Merge pull request #366 from mhaskel/fix_unit_tests

We aren't truncating in the type
Hunter Haugen 10 tahun lalu
induk
melakukan
73867f03b5
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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