Project

General

Profile

« Previous | Next » 

Revision 359a604f

Added by Ivan Necas about 10 years ago

Update puppet modules

View differences:

modules/apt/spec/acceptance/pin_spec.rb
require 'spec_helper_acceptance'
describe 'apt::pin define' do
describe 'apt::pin define', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
context 'defaults' do
it 'should work with no errors' do
pp = <<-EOS
......
describe file('/etc/apt/preferences.d/vim-puppet.pref') do
it { should be_file }
it { should contain 'Pin: origin "testrelease"' }
it { should contain 'Pin: origin testrelease' }
end
end
end

Also available in: Unified diff