Simplify JSON.parse call in api playlists controller spec
This commit is contained in:
@@ -13,7 +13,7 @@ describe Api::V0::PlaylistsController do
|
||||
|
||||
def do_get
|
||||
get :index, :format => :json
|
||||
JSON.parse(response.body)
|
||||
JSON response.body
|
||||
end
|
||||
|
||||
it 'lists all playlists' do
|
||||
|
Reference in New Issue
Block a user