Sha256: 037e3167dedfe279549c9b78203b5427c75e8155df407a3986d6c1c8c995a0a3

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require File.expand_path('../spec_helper', __FILE__)

describe 'Compiler' do
  it 'transforms hash into hash' do
    hash = {
        a: 'A sentence',
        b: 'B sentence',
        hash: {
            c: 5,
            d: true
        },
        z: false
    }

    result = JenkinsPipelineBuilder::Compiler.compile(hash)

    result.should == hash
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jenkins_pipeline_builder-0.2.2 spec/unit_tests/compiler_spec.rb