get user_details_path(:format => "json"), :headers => auth_header
assert_response :success
assert_equal "application/json", response.media_type
get user_details_path(:format => "json"), :headers => auth_header
assert_response :success
assert_equal "application/json", response.media_type