[DRE-commits] [schleuder] 12/26: debian/patches/foo: ok

Georg Faerber georg-alioth-guest at moszumanska.debian.org
Mon Feb 6 01:53:47 UTC 2017


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

georg-alioth-guest pushed a commit to branch master
in repository schleuder.

commit ff6a8a4d5618506fe59ef59a64944237d8965b6f
Author: Georg Faerber <georg at riseup.net>
Date:   Tue Jan 31 15:20:57 2017 +0100

    debian/patches/foo: ok
---
 debian/patches/foo | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/debian/patches/foo b/debian/patches/foo
index a7c6e1b..65984d7 100644
--- a/debian/patches/foo
+++ b/debian/patches/foo
@@ -16,7 +16,16 @@
    def start_smtp_daemon
 --- a/spec/schleuder/integration/cli_spec.rb
 +++ b/spec/schleuder/integration/cli_spec.rb
-@@ -104,6 +104,8 @@
+@@ -90,6 +90,8 @@
+ 
+   context '#refresh_keys' do
+     it 'updates one key from the keyserver' do
++      ENV['GNUPGHOME'] = 'spec/gnupg/'
++      `dirmngr`
+       list = create(:list)
+       list.subscribe("admin at example.org", nil, true)
+       list.import_key(File.read("spec/fixtures/expired_key.txt"))
+@@ -104,9 +106,13 @@
        expect(mail.to_s).to include("98769E8A1091F36BD88403ECF71A3F8412D83889 was updated (new signatures)")
  
        teardown_list_and_mailer(list)
@@ -25,7 +34,12 @@
      end
  
      it 'reports errors from refreshing keys' do
-@@ -124,6 +126,8 @@
++      ENV['GNUPGHOME'] = 'spec/gnupg/'
++      `dirmngr`
+       list = create(:list)
+       list.subscribe("admin at example.org", nil, true)
+       list.import_key(File.read("spec/fixtures/expired_key.txt"))
+@@ -124,6 +130,8 @@
        end
  
        teardown_list_and_mailer(list)

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



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