cf6478490e
This patch aim to update our specs test in order to work with the new rspec-puppet release 2.0.0, in the mean time, we update rspec syntax in order to be prepared for rspec 3.x move. In details: * Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x) * Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0 * Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper) Change-Id: I512ffe4ac12763ec5a4bea935001088bad231cc1
17 lines
557 B
Ruby
17 lines
557 B
Ruby
# vim:ft=ruby
|
|
source 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'rspec-puppet', '~> 2.0.0', :require => false
|
|
gem 'puppet-lint-param-docs'
|
|
gem 'rspec-system', :git => 'https://github.com/aldavud/rspec-system.git', :branch => 'master'
|
|
gem 'rspec-system-puppet', :git => 'https://github.com/aldavud/rspec-system-puppet.git', :branch => 'master'
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|