Simplify JSON.parse call in api playlists controller spec

This commit is contained in:
Thibault Jouan 2012-03-11 22:20:19 +00:00
parent 6379da88e2
commit 0177fd2c08

View File

@ -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