|
|
|
|
|
|
|
|
its('mode') { should cmp '0755' } |
|
|
its('mode') { should cmp '0755' } |
|
|
end |
|
|
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 exist } |
|
|
it { should be_owned_by 'root' } |
|
|
it { should be_owned_by 'root' } |
|
|
it { should be_grouped_into 'root' } |
|
|
it { should be_grouped_into 'root' } |
|
|
its('mode') { should cmp '0644' } |
|
|
its('mode') { should cmp '0644' } |
|
|
its(:content) do |
|
|
its(:content) do |
|
|
should match( |
|
|
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 |
|
|
end |
|
|
end |