From d211e0e1ac1833d929a2226bea1f1265c9cf980f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Can=C3=A9vet?= Date: Sat, 13 Dec 2014 09:07:30 +0100 Subject: Update with modulesync --- .travis.yml | 7 +------ Gemfile | 2 +- spec/spec_helper.rb | 6 ++---- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index e387fcd..7d246af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,18 +6,13 @@ matrix: fast_finish: true include: - rvm: 1.8.7 - env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0" - - rvm: 1.8.7 - env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0" + env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 1.7.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes" - allow_failures: - - rvm: 2.0.0 - env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes" notifications: email: false deploy: diff --git a/Gemfile b/Gemfile index cd34bef..f9c2b63 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ group :development, :unit_tests do gem 'puppetlabs_spec_helper', :require => false gem 'puppet-lint', :require => false gem 'simplecov', :require => false - gem 'puppet_facts', :require => false, :git => 'https://github.com/camptocamp/puppet_facts.git' + gem 'rspec-puppet-facts', :require => false gem 'json', :require => false gem 'metadata-json-lint', :require => false end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cf5db0b..41dd7da 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,8 +1,6 @@ require 'puppetlabs_spec_helper/module_spec_helper' -require 'puppet_facts' -include PuppetFacts - -ENV['UNIT_TEST_PLATFORMS'] = 'debian-7-x86_64' +require 'rspec-puppet-facts' +include RspecPuppetFacts RSpec.configure do |c| -- cgit v1.2.3