test/pgp_writer_test.rb in iostreams-0.12.1 vs test/pgp_writer_test.rb in iostreams-0.13.0

- old
+ new

@@ -47,9 +47,10 @@ result = IOStreams::Pgp::Reader.open(@file_name, passphrase: 'receiver_passphrase') { |file| file.read } assert_equal @data, result end it 'fails with bad signer passphrase' do + skip 'GnuPG v2.1 and above passes when it should not' if IOStreams::Pgp.pgp_version.to_f >= 2.1 assert_raises IOStreams::Pgp::Failure do IOStreams::Pgp::Writer.open(@file_name, recipient: 'receiver@example.org', signer: 'sender@example.org', signer_passphrase: 'BAD') do |io| io.write(@data) end end