puppet-murano/spec/defines/murano_application_spec.rb
Alexey Deryugin 914a2d9c69 Application resource implementation
Change-Id: I5627f94d4fc0d0fa1a63968cfa7ed67350fcc769
2015-11-18 15:55:26 +03:00

28 lines
648 B
Ruby

require 'spec_helper'
describe 'murano::application' do
let(:title) { 'io.murano' }
describe 'with default parameters' do
it { is_expected.to contain_murano_application('io.murano').with(
:ensure => 'present',
:package_path => '/var/cache/murano/meta/io.murano.zip'
)}
end
describe 'with package_category override' do
let :params do {
:package_category => 'library'
}
end
it { is_expected.to contain_murano_application('io.murano').with(
:ensure => 'present',
:package_path => '/var/cache/murano/meta/io.murano.zip',
:category => 'library',
)}
end
end