Initial commit
This commit is contained in:
17
spec/classes/install_spec.rb
Normal file
17
spec/classes/install_spec.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
require 'spec_helper'
|
||||
describe 'dokuwiki::install' do
|
||||
|
||||
context 'with defaults for all parameters' do
|
||||
it { should contain_package('www-apps/dokuwiki') }
|
||||
end
|
||||
|
||||
context 'on Gentoo' do
|
||||
let(:params) {{
|
||||
:use_webapp_config => true,
|
||||
:version => '123'
|
||||
}}
|
||||
|
||||
it { should contain_webapp_config('dokuwiki-123') }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user