]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Normalize Gemfile & pin tests to rspec < 2.99
authorClayton O'Neill <clayton@oneill.net>
Fri, 20 Jun 2014 11:51:19 +0000 (07:51 -0400)
committerClayton O'Neill <clayton@oneill.net>
Fri, 20 Jun 2014 13:13:19 +0000 (09:13 -0400)
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: Ia1286824cebca09e20bf6d11a3435982b93442b9
Partial-Bug: #1326034

Gemfile

diff --git a/Gemfile b/Gemfile
index 0d35201b4dc1016115ed7931629dcc7634ddbee2..d965fa900b55c05f0bff0745e222f5c2837c7d24 100644 (file)
--- 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']