Update pin_spec test to match quote removal.
[puppet-modules/puppetlabs-apt.git] / spec / defines / pin_spec.rb
index a4cb1e26e3ad74f0ef67a58b52af2f9119278aa9..e7976ad612414ff477637ec1308e601d081fa7be 100644 (file)
@@ -60,7 +60,7 @@ describe 'apt::pin', :type => :define do
         :priority => '1',
         :origin   => 'ftp.de.debian.org'
       },
-      :content => "# my_pin\nExplanation: : my_pin\nPackage: *\nPin: origin \"ftp.de.debian.org\"\nPin-Priority: 1\n"
+      :content => "# my_pin\nExplanation: : my_pin\nPackage: *\nPin: origin ftp.de.debian.org\nPin-Priority: 1\n"
     },
     {
       :params => {
@@ -85,7 +85,7 @@ describe 'apt::pin', :type => :define do
         param_set[:params]
       end
 
-      it { should include_class("apt::params") }
+      it { should contain_class("apt::params") }
 
       it { should contain_file("#{title}.pref").with({
           'ensure'  => param_hash[:ensure],