From 78da999c5a41a8af06ba2b7191fe91ab7419d14d Mon Sep 17 00:00:00 2001 From: Clayton O'Neill Date: Fri, 20 Jun 2014 07:58:21 -0400 Subject: [PATCH] Normalize Gemfile & pin tests to rspec < 2.99 Pin to rspec < 2.99 until rspec-puppet officially supports rspec 3.x. This is to avoid warnings due to deprecated matchers in the rspec-puppet gem. This change is also intended to normalize the Gemfile for all stackforge puppet modules. This should facilitate pinning gem versions when releasing new stable branches, since the same diff can be used for all repos. Change-Id: Ibc857d800943bc256f54bbe9faef0bce080a4fc0 Partial-Bug: #1326034 --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 0d35201b..d965fa90 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,9 @@ group :development, :test do gem 'puppetlabs_spec_helper', :require => false gem 'puppet-lint', '~> 0.3.2' gem 'rake', '10.1.1' + gem 'rspec', '< 2.99' + gem 'json' + gem 'webmock' end if puppetversion = ENV['PUPPET_GEM_VERSION']