Sha256: b534c31e796848d8bfd957cca9f9a9a661250ea79d5a8e8db602b568f8cffc29

Contents?: true

Size: 622 Bytes

Versions: 61

Compression:

Stored size: 622 Bytes

Contents

require 'beaker-puppet'

test_name 'skip_test in with_puppet_running_on' do
  assert_raises SkipTest do
    with_puppet_running_on(master, {}) do
      skip_test 'skip rest'
      assert(false)
    end
  end
end

test_name 'pending_test in with_puppet_running_on' do
  assert_raises PendingTest do
    with_puppet_running_on(master, {}) do
      pending_test 'pending appendix prepended'
      assert(false)
    end
  end
end

test_name 'fail_test in with_puppet_running_on' do
  assert_raises FailTest do
    with_puppet_running_on(master, {}) do
      fail_test 'fail_test message'
      assert(false)
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
beaker-puppet-1.0.0 acceptance/tests/with_puppet_running_on.rb