summaryrefslogtreecommitdiff
path: root/files/puppet/modules/pixelated/spec
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-04-19 01:44:31 +0200
committervarac <varacanero@zeromail.org>2017-04-19 01:44:31 +0200
commitd4171c00773e1ca8b05cf9c1be23d1227d9bd9af (patch)
treebf18b67e9158437355900fb6fa2ef42312848caa /files/puppet/modules/pixelated/spec
parentd46074423179768632f8f786281c4870b6fb4e0e (diff)
git subrepo pull files/puppet/modules/pixelated
subrepo: subdir: "files/puppet/modules/pixelated" merged: "6dc72f4" upstream: origin: "https://github.com/pixelated/puppet-pixelated.git" branch: "master" commit: "6dc72f4" git-subrepo: version: "0.3.1" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "3202adb"
Diffstat (limited to 'files/puppet/modules/pixelated/spec')
-rw-r--r--files/puppet/modules/pixelated/spec/classes/apt_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/files/puppet/modules/pixelated/spec/classes/apt_spec.rb b/files/puppet/modules/pixelated/spec/classes/apt_spec.rb
index 7fe995a..102f658 100644
--- a/files/puppet/modules/pixelated/spec/classes/apt_spec.rb
+++ b/files/puppet/modules/pixelated/spec/classes/apt_spec.rb
@@ -43,4 +43,16 @@ describe 'pixelated::apt' do
it { should contain_apt__sources_list('pixelated.list').
with_content("deb [arch=amd64] http://packages.pixelated-project.org/debian jessie-snapshots main\n") }
end
+
+ context 'vagrant' do
+ let(:facts) do
+ {
+ :domain => 'pixelated-project.local',
+ :lsbdistcodename => 'jessie',
+ }
+ end
+
+ it { should contain_apt__sources_list('pixelated.list').
+ with_content("deb [arch=amd64] http://packages.pixelated-project.org/debian jessie-snapshots main\n") }
+ end
end