spec: updates for rspec-puppet 2.x and rspec 3.x
authorGael Chamoulaud <gchamoul@redhat.com>
Tue, 17 Mar 2015 09:34:29 +0000 (10:34 +0100)
committerGael Chamoulaud <gchamoul@redhat.com>
Tue, 17 Mar 2015 09:34:29 +0000 (10:34 +0100)
- This patch aim to update our specs test in order to work with the
  rspec-puppet release 2.0.0, in the mean time, we update rspec syntax order
  to be prepared for rspec 3.x move.

Change-Id: If67d5d39d7b94785c811a16703cdfe9782df2d24
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Gemfile

diff --git a/Gemfile b/Gemfile
index d3d3a07..3800d2e 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -2,8 +2,8 @@ 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'
@@ -16,10 +16,6 @@ group :development, :test do
   gem 'puppet-lint-variable_contains_upcase'
   gem 'puppet-lint-numericvariable'
 
-  gem 'rake', '10.1.1'
-  gem 'puppet-syntax'
-  gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git'
-  gem 'rspec'
   gem 'json'
   gem 'webmock'
   gem 'r10k'