implement missing spec in unit/resource_controller_spec