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-4.1.1 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-4.1.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-4.0.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-2.1.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-3.0.1 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-3.0.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-2.0.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.29.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.28.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.27.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.26.3 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.26.2 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.26.1 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.26.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.25.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.24.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.23.0 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.22.2 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.22.1 acceptance/tests/with_puppet_running_on.rb
beaker-puppet-1.22.0 acceptance/tests/with_puppet_running_on.rb