6304: Clean up temp files that could exist in case of writing errors.
authorLucas Di Pentima <lucas@curoverse.com>
Mon, 10 Apr 2017 16:51:28 +0000 (13:51 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Mon, 10 Apr 2017 16:51:28 +0000 (13:51 -0300)
commit2f46fb5769f41ac9cddf8c46bd0d2ab094375e82
tree77d718fc09e20d79eb44b905c2593e4c10671d3a
parent6da9f3666bc0ddee2d0be079cc30ba8b82804706
6304: Clean up temp files that could exist in case of writing errors.
Also added a test for this case, not working properly atm.
services/api/app/models/node.rb
services/api/test/unit/node_test.rb