Added spec for post controller