Fix tests for latest puppet/rspec versions
This commit is contained in:
@@ -11,6 +11,7 @@ describe 'dokuwiki::config' do
|
||||
:local_conf_template => 'dokuwiki/local.php.erb',
|
||||
:protected_conf_template => 'dokuwiki/local.protected.php.erb',
|
||||
:ldap_servers => ['ldap'],
|
||||
:data_dir => '/var/www/localhost/htdocs/data',
|
||||
}}
|
||||
|
||||
it { should contain_file('/var/www/localhost/htdocs/dokuwiki/conf/local.php') }
|
||||
|
||||
@@ -7,7 +7,7 @@ describe 'dokuwiki' do
|
||||
}}
|
||||
|
||||
it 'we fail' do
|
||||
expect { subject }.to raise_error(/not supported on an Unsupported/)
|
||||
expect { should compile }.to raise_error(/not supported on an Unsupported/)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user