diff --git a/spec/unit/classes/selenium_params_spec.rb b/spec/unit/classes/selenium_params_spec.rb index dfe773a..e5aecae 100644 --- a/spec/unit/classes/selenium_params_spec.rb +++ b/spec/unit/classes/selenium_params_spec.rb @@ -7,7 +7,7 @@ it { should contain_class('selenium::params') } end - + context 'for osfamily Debian' do let(:facts) {{ :osfamily => 'Debian' }} @@ -21,7 +21,7 @@ :operatingsystem => 'SuSE', } end - + it 'should fail' do expect { should contain_class('selenium::params') }. to raise_error(Puppet::Error, /not supported on SuSE/)