Simplify JSON.parse call in api playlists controller spec
This commit is contained in:
parent
6379da88e2
commit
0177fd2c08
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user