Sha256: c899d4bc011448bb5296d62f4e10c7a0c36d83e85c36283b57276a03764d3ddb
Contents?: true
Size: 761 Bytes
Versions: 7
Compression:
Stored size: 761 Bytes
Contents
require 'spec_helper_system' describe 'apt::builddep' do context 'reset' do it 'removes packages' do shell('apt-get -y remove glusterfs-server') shell('apt-get -y remove g++') end end context 'apt::builddep' do it 'should work with no errors' do pp = <<-EOS include '::apt' apt::builddep { 'glusterfs-server': } EOS puppet_apply(pp) do |r| r.exit_code.should_not == 1 end end describe 'should install g++ as a dependency' do describe package('g++') do it { should be_installed } end end end context 'reset' do it 'removes packages' do shell('apt-get -y remove glusterfs-server') shell('apt-get -y remove g++') end end end
Version data entries
7 entries across 7 versions & 1 rubygems