|
|
@@ -25,14 +25,14 @@ control 'Apt repositories' do |
|
|
|
its('mode') { should cmp '0755' } |
|
|
|
end |
|
|
|
|
|
|
|
describe file('/etc/apt/sources.list.d/spotify-binary.list') do |
|
|
|
describe file('/etc/apt/sources.list.d/multimedia-stable-binary.list') do |
|
|
|
it { should exist } |
|
|
|
it { should be_owned_by 'root' } |
|
|
|
it { should be_grouped_into 'root' } |
|
|
|
its('mode') { should cmp '0644' } |
|
|
|
its(:content) do |
|
|
|
should match( |
|
|
|
%r{deb \[arch=amd64\] http://repository.spotify.com stable non-free} |
|
|
|
%r{deb \[arch=amd64\] http://www.deb-multimedia.org stable main} |
|
|
|
) |
|
|
|
end |
|
|
|
end |