:id => 'FFFFFFFF4BD6EC30'
)}
it 'id is set' do
- resource[:id].should eq '4BD6EC30'
+ resource[:id].should eq 'FFFFFFFF4BD6EC30'
end
end
:id => '0xFFFFFFFF4BD6EC30'
)}
it 'id is set' do
- resource[:id].should eq '4BD6EC30'
+ resource[:id].should eq 'FFFFFFFF4BD6EC30'
end
end
)}.to_not raise_error
end
+ it 'allows the ftp URI scheme in source' do
+ expect { Puppet::Type.type(:apt_key).new(
+ :id => '4BD6EC30',
+ :source => 'ftp://pgp.mit.edu'
+ )}.to_not raise_error
+ end
+
it 'allows an absolute path in source' do
expect { Puppet::Type.type(:apt_key).new(
:id => '4BD6EC30',