Browse Source

Merge pull request #67 from netmanagers/fix-tests

tests(repositories): change to a repo with no key expiration
tags/v0.10.3
Imran Iqbal 4 years ago
parent
commit
be9deb2f8e
No account linked to committer's email address
2 changed files with 6 additions and 6 deletions
  1. +2
    -2
      test/integration/repositories/controls/repositories_spec.rb
  2. +4
    -4
      test/salt/pillar/repositories.pillar.sls

+ 2
- 2
test/integration/repositories/controls/repositories_spec.rb View File

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

+ 4
- 4
test/salt/pillar/repositories.pillar.sls View File

clean_sources_list_d: true clean_sources_list_d: true


repositories: repositories:
spotify:
multimedia-stable:
distro: stable distro: stable
url: http://repository.spotify.com
url: http://www.deb-multimedia.org
arch: [amd64] arch: [amd64]
comps: [non-free]
keyid: 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45
comps: [main]
keyid: 5C808C2B65558117
keyserver: keyserver.ubuntu.com keyserver: keyserver.ubuntu.com
heroku: heroku:
distro: ./ distro: ./

Loading…
Cancel
Save