mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2026-05-05 15:32:47 +00:00
Rewrite for testability
Testing the methods inside of the function is a complete pain. This moves the code out to use the PuppetX pattern and adds some basic unit tests that validate the logic.
This commit is contained in:
4
Gemfile
4
Gemfile
@@ -4,10 +4,14 @@ group :test do
|
||||
gem "rake"
|
||||
gem "puppet", ENV['PUPPET_VERSION'] || '~> 3.7.0'
|
||||
gem "rspec", '< 3.2.0'
|
||||
gem 'rspec-core'
|
||||
gem 'rspec-mocks'
|
||||
gem 'rspec-expectations'
|
||||
gem "rspec-puppet", :git => 'https://github.com/rodjek/rspec-puppet.git'
|
||||
gem "puppetlabs_spec_helper"
|
||||
gem "metadata-json-lint"
|
||||
gem "rspec-puppet-facts"
|
||||
gem "net-ldap"
|
||||
end
|
||||
|
||||
group :development do
|
||||
|
||||
Reference in New Issue
Block a user