Sha256: dcf29f809420eeebefd77b607f452876fe51e573881e3214690c80e9e8373e0b
Contents?: true
Size: 447 Bytes
Versions: 4
Compression:
Stored size: 447 Bytes
Contents
require 'spec_helper_system' describe "helper puppet_resource" do it 'for "user" should returns an exit code of 0' do puppet_resource('user') do |r| r.stderr.should be_empty r.exit_code.should be_zero end end context 'test as a subject' do context puppet_resource 'user' do its(:stdout) { should_not be_empty } its(:stderr) { should be_empty } its(:exit_code) { should be_zero } end end end
Version data entries
4 entries across 4 versions & 1 rubygems