require 'spec_helper'

describe 'manila::client' do
  it { is_expected.to contain_package('python-manilaclient').with(
    :ensure => 'present',
    :tag    => 'openstack',
  )}
  let :facts do
    @default_facts.merge({:osfamily => 'Debian'})
  end
  context 'with params' do
    let :params do
      {:package_ensure => 'latest'}
    end
    it { is_expected.to contain_package('python-manilaclient').with_ensure('latest') }
  end
end
