'Creates a webhook with pyrax and makes attributes available.'

def test_create(self):

    self._setup_test_stack(self.webhook_template)
    resource = self.stack['my_webhook']
    self.assertEqual({'name': 'exec    my    policy', 'scaling_group': 'my-group-id', 'policy': 'my-policy-id', 'metadata': {'a': 'b'}}, self.fake_auto_scale.webhooks['0'].kwargs)
    self.assertEqual('self-url', resource.FnGetAtt('executeUrl'))
    self.assertEqual('capability-url', resource.FnGetAtt('capabilityUrl'))
