Skip to content

Commit

Permalink
Fix wrong example in README
Browse files Browse the repository at this point in the history
It's necessary to make facts available to the example by using let, thus the change is actually making the example in the README work properly.

Closes: #51
  • Loading branch information
Patrick Schönfeld authored and mcanevet committed Jul 19, 2017
1 parent 9413736 commit f2f543b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ describe 'myclass::debian' do
}

on_supported_os(test_on).each do |os, facts|
let (:facts) { facts }
it { is_expected.to compile.with_all_deps }
end
end
Expand Down

0 comments on commit f2f543b

Please sign in to comment.