balderdashy / waterline-adapter-tests

API integration tests for Waterline adapters
MIT License
16 stars 41 forks source link

Test `afterUpdate` values (failing test) #73

Open dmarcelino opened 9 years ago

dmarcelino commented 9 years ago

Adds failing test for balderdashy/waterline#698 and should replace balderdashy/waterline#971.

As reported in balderdashy/waterline#698, when a record is updated in sails-mysql, the arrays passed to afterUpdate lifecycle callback are transformed to strings. This test exposes that, as you can see here: https://travis-ci.org/balderdashy/waterline-adapter-tests/jobs/62815681#L556

Remaining task:

:no_entry: Do not merge yet, this breaks sails-mysql tests :no_entry: