basic_spec.rb 258 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 require 'spec_helper_system' describe 'basic tests:' do # Using puppet_apply as a subject context puppet_apply 'notice("foo")' do its(:stdout) { should =~ /foo/ } its(:stderr) { should be_empty } its(:exit_code) { should be_zero } end end