test/test_helper.rb in iostreams-0.19.0 vs test/test_helper.rb in iostreams-0.20.0
- old
+ new
@@ -33,7 +33,7 @@
IOStreams::Pgp.generate_key(name: 'Receiver', email: 'receiver@example.org', passphrase: 'receiver_passphrase', key_length: 2048)
end
# Test paths
root = File.expand_path(File.join(__dir__, '../tmp'))
-IOStreams::Path.add_root(:default, File.join(root, 'default'))
-IOStreams::Path.add_root(:downloads, File.join(root, 'downloads'))
+IOStreams.add_root_path(:default, File.join(root, 'default'))
+IOStreams.add_root_path(:downloads, File.join(root, 'downloads'))