puppet-openstack_extras/spec/acceptance/openstack_extras_auth_file_spec.rb
Tobias Urdin 3d2c99216d Convert all class usage to relative names
Change-Id: I397013bee1e7a58162c5877e83994f6108aeafce
2019-12-08 23:16:30 +01:00

25 lines
515 B
Ruby

require 'spec_helper_acceptance'
describe 'openstack_extras::auth_file' do
context 'default parameters' do
it 'should work with no errors' do
pp= <<-EOS
class { 'openstack_extras::auth_file':
password => 'secret',
}
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
describe file('/root/openrc') do
it { is_expected.to be_file }
end
end
end