Skip to content

Commit 5521ba4

Browse files
author
Craig Watson
committed
Tests: Using lsbdistcodename for Debian tests
1 parent ba678ae commit 5521ba4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

spec/classes/newrelic_repo_infra_spec.rb

+3-5
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,15 @@
2222
context 'OS Family => Debian' do
2323
let(:facts) do
2424
{
25-
'os' => {
25+
'lsbdistcodename' => 'wheezy',
26+
'osfamily' => 'Debian',
27+
'os' => {
2628
'family' => 'Debian',
2729
'name' => 'Debian',
28-
'distro' => {
29-
'codename' => 'wheezy'
30-
},
3130
'release' => {
3231
'full' => '7.0'
3332
}
3433
},
35-
'osfamily' => 'Debian',
3634
}
3735
end
3836

0 commit comments

Comments
 (0)