Fix tests for rails 5.2.1 compatibility
authorTom Hughes <tom@compton.nu>
Thu, 15 Nov 2018 00:46:53 +0000 (00:46 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 15 Nov 2018 00:46:53 +0000 (00:46 +0000)
commit6f2f9221ef230142bc8c28b3942e306a13ce206b
treedebe8d51f34cfcf9c77d2dad310324dc1812c57a
parent28e011e2193148092e4c3dfe296ab29b7721d5d4
Fix tests for rails 5.2.1 compatibility

Rails 5.2.1 has changed how the request body is handled
internally for a test which means we can no longer cheat
by stashing it in the request environment and must instead
pass it properly to the request method.
test/controllers/amf_controller_test.rb
test/controllers/changesets_controller_test.rb
test/controllers/nodes_controller_test.rb
test/controllers/old_nodes_controller_test.rb
test/controllers/relations_controller_test.rb
test/controllers/traces_controller_test.rb
test/controllers/user_preferences_controller_test.rb
test/controllers/ways_controller_test.rb
test/test_helper.rb