fix pending specs for ResourceController