Skip to content

Commit 4572430

Browse files
committed
Basic Webhook testing
1 parent c05c8b1 commit 4572430

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

spec/live/webhook_spec.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
require 'core/spec_helper'
2+
3+
describe ZendeskAPI::Webhook, :delete_after do
4+
def valid_attributes
5+
{
6+
name: "Random Hook",
7+
endpoint: "https://lvh.me",
8+
status: :active,
9+
http_method: :get,
10+
request_format: :json
11+
}
12+
end
13+
14+
it_should_be_creatable
15+
it_should_be_deletable
16+
end

0 commit comments

Comments
 (0)