spec for pages controller