Fix broken spec after changing displayed text