forked from evolix/ansible-roles
apt-repositories: test replacements for empty results
This commit is contained in:
parent
10294e0490
commit
a1466bfcdb
|
@ -13,9 +13,11 @@ describe file("/etc/apt/preferences.d/0-backports-defaults") do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command("grep 'main contrib non-free' /etc/apt/sources.list.d/backports.list") do
|
describe command("grep 'main contrib non-free' /etc/apt/sources.list.d/backports.list") do
|
||||||
|
its(:stdout) { should_not be_empty }
|
||||||
its(:exit_status) { should eq 0 }
|
its(:exit_status) { should eq 0 }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command("grep 'main contrib non-free' /etc/apt/sources.list") do
|
describe command("grep 'main contrib non-free' /etc/apt/sources.list") do
|
||||||
|
its(:stdout) { should_not be_empty }
|
||||||
its(:exit_status) { should eq 0 }
|
its(:exit_status) { should eq 0 }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue