```ruby
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
```

Fix for the module_registry spec, also this needs to be written as unit tests.
user
```ruby
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', 'plugin_id', 1.0) do
      true
    end
    expect(registry.registry[:job][:foo][1.0]).to be_truthy
    #TODO test registered_modules
  end
end
```
assistant