Sha256: 9c3dacc00b33bfafea9468a1454772388474c07cb3245142250dab9803e2b005
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
require File.expand_path('../spec_helper', __FILE__) describe 'ModuleRegistry' do it 'needs more tests' it 'should return item by a specified path' do registry = JenkinsPipelineBuilder::ModuleRegistry.new registry.register_job_attribute(:foo, 'jenkins name', 'desc') do true end puts registry.registry.inspect registry.get('job/foo').call.should be_true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jenkins_pipeline_builder-0.5.2 | spec/unit_tests/module_registry_spec.rb |