Skip to content

Commit

Permalink
Fix logic issue with not including windows for testing ensure_package…
Browse files Browse the repository at this point in the history
…s as ruby and gem are not on the install path
  • Loading branch information
Travis Fields committed Oct 28, 2014
1 parent a6f3f78 commit 5497f83
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 5497f83

Please sign in to comment.