diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b551090..c0b921b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,35 +1,34 @@ -require 'rubygems' require 'puppetlabs_spec_helper/module_spec_helper' RSpec.configure do |c| c.default_facts = { :operatingsystem => 'Debian', :osfamily => 'Debian', :fqdn => 'testnode.example.com', } end shared_context :unsupported do let(:facts) { { :osfamily => 'Unsupported', } } end shared_context :Debian do end shared_context :Ubuntu do let(:facts) { { :operatingsystem => 'Ubuntu', } } end shared_context :CentOS do let(:facts) { { :operatingsystem => 'CentOS', :osfamily => 'RedHat', } } end shared_context :RedHat do let(:facts) { { :osfamily => 'RedHat', } } end shared_context :SmartOS do let(:facts) { { :operatingsystem => 'SmartOS', :osfamily => 'Solaris', } } end