fix spec and use controller_path in mongoid