Sha256: 8692085d7cc7b3cd7e96f06a475d817362f2f9bee520eae81ad27d735d201a32

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

require_relative './test_xml_generator'

class TestXmlTimestamps < Test::Unit::TestCase
  def test_timestamps
    builder = JenkinsJob::Builder.new

    builder.freestyle 'foo' do
      timestamps
    end

    actual = builder.config_as_xml_node('foo')
    assert actual.at('./project/buildWrappers/hudson.plugins.timestamper.TimestamperBuildWrapper')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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