Skip to content

Commit

Permalink
Merge pull request #345 from cyberious/master
Browse files Browse the repository at this point in the history
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
  • Loading branch information
cmurphy committed Oct 28, 2014
2 parents a6f3f78 + 5497f83 commit 6e94a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/ensure_packages_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'

describe 'ensure_packages function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) || fact('operatingsystem') != 'windows') do
describe 'ensure_packages function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) && fact('operatingsystem') != 'windows') do
describe 'success' do
it 'ensure_packages a package' do
apply_manifest('package { "rake": ensure => absent, provider => "gem", }')
Expand Down

0 comments on commit 6e94a70

Please sign in to comment.