Project

General

Profile

« Previous | Next » 

Revision 22cbbc45

Added by Ewoud Kohl van Wijngaarden over 7 years ago

Use on_os_under_test

View differences:

spec/defines/puppet_server_env_spec.rb
require 'spec_helper'
describe 'puppet::server::env' do
on_supported_os.each do |os, os_facts|
next if only_test_os() and not only_test_os.include?(os)
next if exclude_test_os() and exclude_test_os.include?(os)
on_os_under_test.each do |os, os_facts|
next if os_facts[:osfamily] == 'windows'
next if os_facts[:osfamily] == 'Archlinux'
context "on #{os}" do

Also available in: Unified diff