Sha256: e98681f540d559dc6124e51a9e10bcc9e45abd8bf831ec0a07311e57c91e2b4e
Contents?: true
Size: 562 Bytes
Versions: 3
Compression:
Stored size: 562 Bytes
Contents
require_relative './test_xml_generator' class TestXmlPassword < Test::Unit::TestCase def test_password builder = JenkinsJob::Builder.new builder.freestyle 'foo' do password 'ADMIN_PASS', 'PhxHFCjgSiXR2umXhALLq+RzqJBxODDJT4t9Tw5JXbI=' end actual = builder.config_as_xml_node('foo') { 'name' => 'ADMIN_PASS', 'value' => 'PhxHFCjgSiXR2umXhALLq+RzqJBxODDJT4t9Tw5JXbI=' }.each do |k, v| assert v, actual.xpath("./project/buildWrappers/EnvInjectPasswordWrapper/passwordEntries/EnvInjectPasswordEntry/#{k}").text end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubyjobbuilderdsl-0.0.8 | test/test_password.rb |
rubyjobbuilderdsl-0.0.6 | test/test_password.rb |
rubyjobbuilderdsl-0.0.4 | test/test_password.rb |