Skip to content

Commit

Permalink
Add facts to work with strict variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Haskel committed Feb 26, 2015
1 parent 25be287 commit d5329d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/classes/dev_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@
context "on an Ubuntu 14 OS" do
let :facts do
{
:lsbdistrelease => '14.04',
:lsbdistcodename => 'trusty',
:osfamily => 'Debian',
:operatingsystem => 'Ubuntu',
:operatingsystemrelease => '14.04',
:is_pe => false,
}
end
it { is_expected.to contain_package("apache2-dev") }
Expand Down

0 comments on commit d5329d6

Please sign in to comment.