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.18.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.17.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.16.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.15.1 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.15.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.14.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.13.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.12.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.11.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.10.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.9.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.8.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.7.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.6.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.5.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.4.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.3.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.2.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.1.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.0.1 acceptance/tests/with_puppet_running_on.rb