diff --git a/Gemfile b/Gemfile index a4a3b20..c8ae180 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,8 @@ source ENV['GEM_SOURCE'] || 'https://rubygems.org' group :test do - gem 'voxpupuli-test', '~> 7.0', :require => false + gem 'rspec-puppet-facts', git: 'https://github.com/bastelfreak/rspec-puppet-facts', branch: 'foobaz', :require => false + gem 'voxpupuli-test', git: 'https://github.com/bastelfreak/voxpupuli-test', branch: 'foobaz', :require => false gem 'coveralls', :require => false gem 'simplecov-console', :require => false gem 'puppet_metadata', '~> 3.5', :require => false diff --git a/spec/classes/example_spec.rb b/spec/classes/example_spec.rb index e19972e..d583e65 100644 --- a/spec/classes/example_spec.rb +++ b/spec/classes/example_spec.rb @@ -7,6 +7,8 @@ context "on #{os}" do let(:facts) { os_facts } + puts os_facts + it { is_expected.to compile.with_all_deps } it { is_expected.to contain_file('/tmp/puppet-example').with_content('Hello World!') } end