WP-API/WP-API — pull request #620 by joehoyle (2014-11-18 22:37:49+00:00)
Title: Fix passing array to 'methods' are in register_json_route()

Currently it will transform a string to `array( 'GET' => true )` but passing an array is not transformed, so passing `array( 'GET' ) != array('GET' => true )`

Also, some nice unit tests