'Updates the groupConfiguration section.
Updates the groupConfiguration section in a template results in a
pyrax call to update the group configuration.'

def test_update_group_config(self):

    self._setup_test_stack()
    resource = self.stack['my_group']
    uprops = copy.deepcopy(dict(resource.properties.data))
    uprops['groupConfiguration']['minEntities'] = 5
    new_template = rsrc_defn.ResourceDefinition(resource.name, resource.type(), uprops)
    scheduler.TaskRunner(resource.update, new_template)()
    self.assertEqual(1, len(self.fake_auto_scale.groups))
    self.assertEqual(5, self.fake_auto_scale.groups['0'].kwargs['min_entities'])
