Improve trace#api_data tests
authorTom Hughes <tom@compton.nu>
Thu, 9 Mar 2017 18:28:46 +0000 (18:28 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 9 Mar 2017 18:28:46 +0000 (18:28 +0000)
commitda57077c0b7879f83a8881dc4e7ee115abfac906
treec5c642f35fe910f0b1c75fed565567144ea07c00
parentf381ff6fb2411c0edf0aa709860a26c72b6c9d18
Improve trace#api_data tests

The api_data action doesn't actually take the username as an
arguement and should be modelled on api_read rather than the
actions that handle web views.
test/controllers/trace_controller_test.rb