From d5329d63a90991df44633b18bf367f43440a5337 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Wed, 25 Feb 2015 16:48:14 -0800 Subject: [PATCH] Add facts to work with strict variables. --- spec/classes/dev_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/classes/dev_spec.rb b/spec/classes/dev_spec.rb index 6857132a1..e2e0b47af 100644 --- a/spec/classes/dev_spec.rb +++ b/spec/classes/dev_spec.rb @@ -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") }