'Test case for desiredCapacity property.
The desiredCapacity property translates to the desired_capacity pyrax
argument.'

def test_webhook_desired_capacity(self):

    template = copy.deepcopy(self.policy_template)
    template['Resources']['my_policy']['Properties']['desiredCapacity'] = 1
    del template['Resources']['my_policy']['Properties']['change']
    self._setup_test_stack(template)
    self.assertEqual({'name': '+10    on    webhook', 'scaling_group': 'my-group-id', 'desired_capacity': 1, 'cooldown': 0, 'policy_type': 'webhook'}, self.fake_auto_scale.policies['0'].kwargs)
