test/pgp_writer_test.rb in iostreams-0.10.0 vs test/pgp_writer_test.rb in iostreams-0.10.1
- old
+ new
@@ -74,12 +74,12 @@
end
end
end
it 'fails with stream output' do
- io = StringIO.new
+ string_io = StringIO.new
assert_raises NotImplementedError do
- IOStreams::Pgp::Writer.open(io, recipient: 'receiver@example.org') do |io|
+ IOStreams::Pgp::Writer.open(string_io, recipient: 'receiver@example.org') do |io|
io.write(@data)
end
end
end