914a2d9c69
Change-Id: I5627f94d4fc0d0fa1a63968cfa7ed67350fcc769
28 lines
648 B
Ruby
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
|