[DRE-commits] [gem2deb] 02/03: add a unit test for the removal of checksums.yaml.gz

Cédric Boutillier boutil at moszumanska.debian.org
Mon Aug 11 13:29:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch checksums
in repository gem2deb.

commit 9bea85e83cdae7bdc28917d8c411b03501a7953a
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Aug 11 14:22:06 2014 +0200

    add a unit test for the removal of checksums.yaml.gz
---
 test/unit/gem2tgz_test.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/unit/gem2tgz_test.rb b/test/unit/gem2tgz_test.rb
index 1aaddbc..e073d70 100644
--- a/test/unit/gem2tgz_test.rb
+++ b/test/unit/gem2tgz_test.rb
@@ -50,6 +50,9 @@ class Gem2TgzTest < Gem2DebTestCase
         assert_file_exists 'simplegem-0.0.1/metadata.yml'
       end
     end
+    should 'not include checksums.yaml.gz' do
+      assert_not_contained_in_tarball SIMPLE_GEM_TARBALL, 'simplegem-0.0.1/checksums.yaml.gz'
+    end
     context 'looking inside metadata.yml' do
       setup do
         @gemspec = unpack(SIMPLE_GEM_TARBALL) do

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list