]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Fixed tests for cf04f76
authorlkoranda <registered@koranda.cz>
Mon, 14 Oct 2013 12:27:17 +0000 (14:27 +0200)
committerlkoranda <registered@koranda.cz>
Mon, 14 Oct 2013 12:27:17 +0000 (14:27 +0200)
spec/defines/source_spec.rb

index 0a8da3d5a6a70b433536050f8796cb6ff1b7d419..9ad4d463e4939fde48a2eccd19a9b4ab1738bb13 100644 (file)
@@ -75,10 +75,10 @@ describe 'apt::source', :type => :define do
         if param_hash[:architecture]
           arch = "[arch=#{param_hash[:architecture]}]"
         end
-        content << "\ndeb #{arch} #{param_hash[:location]} #{param_hash[:release]} #{param_hash[:repos]}\n"
+        content << "\ndeb #{arch}#{param_hash[:location]} #{param_hash[:release]} #{param_hash[:repos]}\n"
 
         if param_hash[:include_src]
-          content << "deb-src #{arch} #{param_hash[:location]} #{param_hash[:release]} #{param_hash[:repos]}\n"
+          content << "deb-src #{arch}#{param_hash[:location]} #{param_hash[:release]} #{param_hash[:repos]}\n"
         end
         content
       end