
* Update spec tests in order to match rspec 3.x syntax (and puppet-rspec 2.x) * Remove gems over-specifications (puppetlabs_spec_helper already add runtime deps on rpsec, puppet-rspec and rake) * Fix RedHat fact (cherry-pick of commit https://review.openstack.org/106555/) * Pin fixtures to stable/icehouse (this module is EOL) * Pin concat to 1.2.1 Partial-Bug: #1326034 Change-Id: If299e1f9591f21d9410f2a5744d29823f913c000
10 lines
323 B
Ruby
10 lines
323 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'openstack::test_file' do
|
|
it do
|
|
is_expected.to contain_file('/tmp/test_nova.sh').with_mode('0751')
|
|
is_expected.to_not contain_file('/tmp/test_nova.sh').with_content(/add-floating-ip/)
|
|
is_expected.to contain_file('/tmp/test_nova.sh').with_content(/floatingip-create/)
|
|
end
|
|
end
|