From da753240eae981f8f4e8ee0ed15480a473c667cc Mon Sep 17 00:00:00 2001 From: sandiks Date: Fri, 15 Jun 2018 12:43:06 +0300 Subject: [PATCH] #72: substract the prefix from full path if its equal --- test/test_wallets.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test_wallets.rb b/test/test_wallets.rb index 2f2e373a..b81c401d 100644 --- a/test/test_wallets.rb +++ b/test/test_wallets.rb @@ -50,4 +50,12 @@ def test_lists_wallets_and_ignores_garbage assert_equal(1, wallets.all.count) end end + + def test_substracts_dir_path_from_full_path + FakeHome.new.run do |home| + wallets = home.wallets + assert wallets.path != wallets.to_s + end + end + end