Sha256: 715708019a8302f07944b86c0b04d645232102cd2520391c4bbc17a72bdfea18

Contents?: true

Size: 449 Bytes

Versions: 5

Compression:

Stored size: 449 Bytes

Contents

require_relative './test_xml_generator'

class TestChuckNorrisPublisher < Test::Unit::TestCase
  def test_postbuild_chucknorris_publisher
    builder = JenkinsJob::Builder.new

    builder.freestyle 'foo' do
      postbuild do
        chucknorris
      end
    end

    actual = builder.config_as_xml_node('foo')

    assert actual.at('./project/publishers/hudson.plugins.chucknorris.CordellWalkerRecorder/factGenerator')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.5 test/test_chucknorris_publisher.rb
rubyjobbuilderdsl-0.0.3 test/test_chucknorris_publisher.rb
rubyjobbuilderdsl-0.0.2 test/test_chucknorris_publisher.rb
rubyjobbuilderdsl-0.0.1 test/test_chucknorris_publisher.rb
rubyjobbuilderdsl-0.0.0 test/test_chucknorris_publisher.rb