d60db0c73e
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: I062afe69fea8acb4785c537df7400d9c5d7034b4 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
29 lines
738 B
Ruby
29 lines
738 B
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', '~> 1.1'
|
|
gem 'metadata-json-lint'
|
|
gem 'puppet-lint-param-docs'
|
|
gem 'puppet-lint-absolute_classname-check'
|
|
gem 'puppet-lint-absolute_template_path'
|
|
gem 'puppet-lint-trailing_newline-check'
|
|
|
|
# Puppet 4.x related lint checks
|
|
gem 'puppet-lint-unquoted_string-check'
|
|
gem 'puppet-lint-leading_zero-check'
|
|
gem 'puppet-lint-variable_contains_upcase'
|
|
gem 'puppet-lint-numericvariable'
|
|
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|