80c85e8f2b
This patch ports all of the existing system tests to use rspec-system instead. To assist with this conversion some patches were made to fix OS compatibility where necessary. We also added an ensure parameter to the postgresql::server class to assist with removing PostgreSQL configuration to aid with testing cleanups. The documentation has been updated to indicate test usage with rspec-system, we've also renamed the 'tests' directory to 'examples'. Signed-off-by: Ken Barber <ken@bob.sh>
17 lines
381 B
Ruby
17 lines
381 B
Ruby
source 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'rake'
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'rspec-system-puppet', '~>1.0'
|
|
gem 'rspec-system', '>=1.2.1'
|
|
gem 'puppet-lint', '~> 0.3.2'
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|