aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/acceptance/honeycomb_spec.rb1
-rw-r--r--spec/classes/honeycomb_spec.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/spec/acceptance/honeycomb_spec.rb b/spec/acceptance/honeycomb_spec.rb
index 012693b..36f8a2e 100644
--- a/spec/acceptance/honeycomb_spec.rb
+++ b/spec/acceptance/honeycomb_spec.rb
@@ -5,6 +5,7 @@ describe 'fdio::honeycomb' do
describe 'default parameters' do
it 'should work with no errors' do
pp= <<-EOS
+ class { '::fdio': }
class { '::fdio::honeycomb': }
EOS
diff --git a/spec/classes/honeycomb_spec.rb b/spec/classes/honeycomb_spec.rb
index fcd31f6..8fc2252 100644
--- a/spec/classes/honeycomb_spec.rb
+++ b/spec/classes/honeycomb_spec.rb
@@ -7,6 +7,8 @@ describe 'fdio::honeycomb' do
:operatingsystemmajrelease => '7',
}}
+ let(:pre_condition) { 'include fdio' }
+
it { should compile }
it { should compile.with_all_deps }
it { should contain_class('fdio::honeycomb') }