Skip to content

Commit

Permalink
voxpupuli-test: test stringified facts
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 24, 2024
1 parent 4056108 commit afa9d9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'

group :test do
gem 'voxpupuli-test', '~> 7.0', :require => false
gem 'voxpupuli-test', git: 'https://github.com/bastelfreak/voxpupuli-test', branch: 'foo2', :require => false
gem 'coveralls', :require => false
gem 'simplecov-console', :require => false
gem 'puppet_metadata', '~> 3.5', :require => false
Expand Down
2 changes: 2 additions & 0 deletions spec/classes/example_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afa9d9f

Please sign in to comment.