spec for PostsController#search