Add spec for dashboard controller