Sha256: 6597c554817c6b2a3e67962e40694e6dc3bd9e59cbdec693a954516c9b839d0c

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

require_relative './test_xml_generator'

class TestGamePublisher < Test::Unit::TestCase
  def test_postbuild_game_publisher
    builder = JenkinsJob::Builder.new

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

    actual = builder.config_as_xml_node('foo')

    assert actual.at('./project/publishers/hudson.plugins.cigame.GamePublisher')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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