Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
(GH-1055) Fix hardcoded cache path
[puppet-modules/puppetlabs-apt.git]
/
spec
/
defines
/
source_compat_spec.rb
diff --git
a/spec/defines/source_compat_spec.rb
b/spec/defines/source_compat_spec.rb
index bd54fcfd1faaf0392c09f789ed58285a5e79558e..d7dfb7869564b5a49c7f54e07c754cc14f91cf46 100644
(file)
--- a/
spec/defines/source_compat_spec.rb
+++ b/
spec/defines/source_compat_spec.rb
@@
-15,11
+15,11
@@
describe 'apt::source', type: :define do
family: 'Debian',
name: 'Debian',
release: {
family: 'Debian',
name: 'Debian',
release: {
- major: '
8
',
- full: '
8
.0',
+ major: '
9
',
+ full: '
9
.0',
},
distro: {
},
distro: {
- codename: '
jessie
',
+ codename: '
stretch
',
id: 'Debian',
},
},
id: 'Debian',
},
},
@@
-35,7
+35,7
@@
describe 'apt::source', type: :define do
end
it {
end
it {
- is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb-src http://debian.mirror.iweb.ca/debian/
jessie
main\n})
+ is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb-src http://debian.mirror.iweb.ca/debian/
stretch
main\n})
}
end
}
end
@@
-80,7
+80,7
@@
describe 'apt::source', type: :define do
}
end
}
end
- it { is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb \[allow-insecure=yes\] http://debian.mirror.iweb.ca/debian/
jessie
main\n}) }
+ it { is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb \[allow-insecure=yes\] http://debian.mirror.iweb.ca/debian/
stretch
main\n}) }
end
context 'when allow_unsigned true' do
end
context 'when allow_unsigned true' do
@@
-92,7
+92,7
@@
describe 'apt::source', type: :define do
}
end
}
end
- it { is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb \[trusted=yes\] http://debian.mirror.iweb.ca/debian/
jessie
main\n}) }
+ it { is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb \[trusted=yes\] http://debian.mirror.iweb.ca/debian/
stretch
main\n}) }
end
context 'with architecture equals x86_64' do
end
context 'with architecture equals x86_64' do
@@
-104,7
+104,7
@@
describe 'apt::source', type: :define do
end
it {
end
it {
- is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb \[arch=x86_64\] http://debian.mirror.iweb.ca/debian/
jessie
main\n})
+ is_expected.to contain_apt__setting('list-my_source').with_content(%r{# my_source\ndeb \[arch=x86_64\] http://debian.mirror.iweb.ca/debian/
stretch
main\n})
}
end
}
end