Skip to content

Commit

Permalink
add $::osfamily == debian unit test coverage for selenium::config
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Aug 8, 2015
1 parent afe1d8c commit 9b69415
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/unit/defines/selenium_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,14 @@
end
end

context 'for osfamily Debian' do
let(:title) { 'server' }
let(:facts) {{ :osfamily => 'Debian' }}
let :pre_condition do
"include selenium"
end

it { should contain_package('daemon').with_ensure('present') }
end

end

0 comments on commit 9b69415

Please sign in to comment.