From 207ee05b0ef2d084489d5b01c071b68a4f5075ca Mon Sep 17 00:00:00 2001 From: Matthew Cillo Date: Thu, 3 Dec 2015 22:54:27 -0500 Subject: added tests --- tests/units/fixtures/gitlab_issue_reopened.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/units/fixtures/gitlab_issue_reopened.json (limited to 'tests/units/fixtures') diff --git a/tests/units/fixtures/gitlab_issue_reopened.json b/tests/units/fixtures/gitlab_issue_reopened.json new file mode 100644 index 00000000..bf76262d --- /dev/null +++ b/tests/units/fixtures/gitlab_issue_reopened.json @@ -0,0 +1,25 @@ +{ + "object_kind": "issue", + "user": { + "name": "Fred", + "username": "minicoders", + "avatar_url": "https://secure.gravatar.com/avatar/3c44936e5a56f80711bff14987d2733f?s=40&d=identicon" + }, + "object_attributes": { + "id": 355691, + "title": "Bug", + "assignee_id": null, + "author_id": 74067, + "project_id": 320820, + "created_at": "2015-07-17 21:31:47 UTC", + "updated_at": "2015-07-17 21:31:47 UTC", + "position": 0, + "branch_name": null, + "description": "There is a bug somewhere.\r\n\r\nBye", + "milestone_id": null, + "state": "opened", + "iid": 1, + "url": "https://gitlab.com/minicoders/test-webhook/issues/1", + "action": "reopen" + } +} -- cgit v1.2.3