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/classes/puppet_agent_service_systemd_spec.rb
require 'spec_helper'
describe 'puppet::agent::service::systemd' 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|
context "on #{os}" do
let (:default_facts) do
os_facts.merge({

Also available in: Unified diff