Fix api contents_controller spec

Because of the delegation we need to create the object, not stubbing.