Fixes pages controller spec.