(maint) Remove failing acceptance test for ensure_packages

This only duplicates what's already being tested in ensure_packages_spec.rb
but doesn't work on all our supported platforms.
This commit is contained in:
David Schmitt 2015-07-22 12:21:31 +01:00
parent f996a38d11
commit 24b1cd78db

View file

@ -1,22 +0,0 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
describe 'ensure_packages function', :unless => fact('osfamily') =~ /windows/i do
describe 'success' do
it 'ensure_packages a package' do
apply_manifest('package { "rake": ensure => absent, provider => "gem", }')
pp = <<-EOS
$a = "rake"
ensure_packages($a,{'provider' => 'gem'})
EOS
apply_manifest(pp, :expect_changes => true)
end
it 'ensures a package already declared'
it 'takes defaults arguments'
end
describe 'failure' do
it 'handles no arguments'
it 'handles non strings'
end
end