Also introducing a view spec here because the code was incorrectly refactored before. The execution of the view spec takes only 100ms which is much faster than a system spec.