(#12094) Add rspec-puppet tests for apt
[puppet-modules/puppetlabs-apt.git] / spec / classes / debian_testing_spec.rb
1 require 'spec_helper'
2 describe 'apt::debian::testing', :type => :class do
3   it {
4     should create_resource("Apt::source", "debian_testing")\
5       .with_param("location", "http://debian.mirror.iweb.ca/debian/")\
6       .with_param("release", "testing")\
7       .with_param("repos", "main contrib non-free")\
8       .with_param("required_packages", "debian-keyring debian-archive-keyring")\
9       .with_param("key", "55BE302B")\
10       .with_param("key_server", "subkeys.pgp.net")\
11       .with_param("pin", "-10")
12   }
13 end