Fix unit test failure with recent puppetlabs-inifile
Depends-on: https://review.opendev.org/816117 Change-Id: Idcef0958d6e68f94ce1690503456dbb1e86feac2
This commit is contained in:
@@ -76,8 +76,7 @@ describe provider_class do
|
|||||||
expect { @domain_provider.create }.not_to raise_error
|
expect { @domain_provider.create }.not_to raise_error
|
||||||
expect(File).to exist('/tmp/keystone.bar.conf')
|
expect(File).to exist('/tmp/keystone.bar.conf')
|
||||||
expect(File.read('/tmp/keystone.bar.conf'))
|
expect(File.read('/tmp/keystone.bar.conf'))
|
||||||
.to eq('
|
.to eq('[dude]
|
||||||
[dude]
|
|
||||||
foo=blahh
|
foo=blahh
|
||||||
')
|
')
|
||||||
end
|
end
|
||||||
@@ -95,14 +94,12 @@ foo=blahh
|
|||||||
expect(File).to exist('/tmp/keystone.baz.conf')
|
expect(File).to exist('/tmp/keystone.baz.conf')
|
||||||
|
|
||||||
expect(File.read('/tmp/keystone.bar.conf'))
|
expect(File.read('/tmp/keystone.bar.conf'))
|
||||||
.to eq('
|
.to eq('[dude]
|
||||||
[dude]
|
|
||||||
foo=blahh
|
foo=blahh
|
||||||
')
|
')
|
||||||
|
|
||||||
expect(File.read('/tmp/keystone.baz.conf'))
|
expect(File.read('/tmp/keystone.baz.conf'))
|
||||||
.to eq('
|
.to eq('[duck]
|
||||||
[duck]
|
|
||||||
go=where
|
go=where
|
||||||
')
|
')
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user