test/test_key.rb in zold-0.16.13 vs test/test_key.rb in zold-0.16.14
- old
+ new
@@ -27,10 +27,10 @@
# Key test.
# Author:: Yegor Bugayenko (yegor256@gmail.com)
# Copyright:: Copyright (c) 2018 Yegor Bugayenko
# License:: MIT
-class TestKey < Minitest::Test
+class TestKey < Zold::Test
def test_reads_public_rsa
key = Zold::Key.new(file: 'fixtures/id_rsa.pub')
assert(key.to_pub.start_with?('MIICI'))
assert(key.to_pub.end_with?('EAAQ=='))
assert(!key.to_pub.include?("\n"))