Sha256: 8307b94d62c34a52bcac0475c40eae1536b0894e871da8fe54c9d70d53f364c2
Contents?: true
Size: 619 Bytes
Versions: 6
Compression:
Stored size: 619 Bytes
Contents
#! /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
Version data entries
6 entries across 6 versions & 1 rubygems