浏览代码

Merge pull request #366 from mhaskel/fix_unit_tests

We aren't truncating in the type
Hunter Haugen 10 年之前
父节点
当前提交
73867f03b5
共有 1 个文件被更改,包括 2 次插入2 次删除
  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