azukiapp/azk — pull request #177 by saitodisse (2014-11-24 19:01:33+00:00)
Title: Fixing mounts when systems repeates #173

Again (#151, #163) the error was caused because javascript way to "copying by reference" objects. A simple cloneDeep resolved the situation.

I had to create a more complex test with two Rails systems that depends on their respective databases. At least now we have a more complex "functional test".
```js
// from
evidence.suggestionChoosen.suggestion = _.clone(suggestionChoosen.suggestion);
// to
evidence.suggestionChoosen.suggestion = _.cloneDeep(suggestionChoosen.suggestion);
```
![captura de tela de 2014-11-24 16 58 34](https://cloud.githubusercontent.com/assets/155953/5171002/52be8014-73fb-11e4-9559-5ce116e89671.png)