'Creating the resource creates the scaling policy with pyrax.
Also sets the resource\'s ID to {group_id}:{policy_id}.'

def test_create_webhook_change(self):

    self._setup_test_stack(self.policy_template)
    resource = self.stack['my_policy']
    self.assertEqual('my-group-id:0', resource.FnGetRefId())
    self.assertEqual({'name': '+10    on    webhook', 'scaling_group': 'my-group-id', 'change': 10, 'cooldown': 0, 'policy_type': 'webhook'}, self.fake_auto_scale.policies['0'].kwargs)
