Skip to content

Commit

Permalink
zold-io#72: substract the prefix from full path if its equal
Browse files Browse the repository at this point in the history
  • Loading branch information
sandiks committed Jun 15, 2018
1 parent 8e7d62f commit da75324
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_wallets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit da75324

Please sign in to comment.