test/fake_home.rb in zold-0.26.10 vs test/fake_home.rb in zold-0.26.11
- old
+ new
@@ -43,12 +43,10 @@
end
def run
Dir.mktmpdir do |dir|
FileUtils.copy(File.expand_path(File.join(__dir__, '../fixtures/id_rsa')), File.join(dir, 'id_rsa'))
- result = yield FakeHome.new(dir, log: @log)
- sleep 0.5 # It's a workaround against a bug (without it tests fail sporadically)
- result
+ yield FakeHome.new(dir, log: @log)
end
end
def wallets
Zold::SyncWallets.new(Zold::CachedWallets.new(Zold::Wallets.new(@dir)), log: @log)