Write specs for detail view and make them pass