mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2025-10-13 12:55:48 +00:00

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.
29 lines
578 B
Ruby
29 lines
578 B
Ruby
source "https://rubygems.org"
|
|
|
|
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
|
|
gem "travis"
|
|
gem "travis-lint"
|
|
gem "vagrant-wrapper"
|
|
gem "puppet-blacksmith"
|
|
gem "guard-rake"
|
|
end
|
|
|
|
group :system_tests do
|
|
gem "beaker"
|
|
gem "beaker-rspec"
|
|
end
|