Sha256: 573512febbd8c7e35e3ea14e7d71460da2a848e0021560634ea1706044c05d32

Contents?: true

Size: 361 Bytes

Versions: 4

Compression:

Stored size: 361 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

4 entries across 4 versions & 1 rubygems

Version Path
jenkins_pipeline_builder-0.2.0 spec/unit_tests/compiler_spec.rb
jenkins_pipeline_builder-0.1.6 spec/unit_tests/compiler_spec.rb
jenkins_pipeline_builder-0.1.5 spec/unit_tests/compiler_spec.rb
jenkins_pipeline_builder-0.1.3 spec/unit_tests/compiler_spec.rb