remove the view in spec