{"action":"created","comment":{"url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/comments/235851903","pull_request_review_id":177814086,"id":235851903,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTg1MTkwMw==","diff_hunk":"@@ -0,0 +1,60 @@\n+Feature: integration test\n+\n+Background:\n+    * def serverConfig = read('mocks/start-mock.js')\n+    * def serverMock = serverConfig('close-credit-mock')\n+\n+    * configure afterScenario = read('mocks/stop-mock.js')\n+    * configure headers = { 'Content-Type': 'application/json' }\n+\n+Scenario: Check on exist\n+    * url 'http://localhost:' + serverMock.port + '/credit'\n+    Given path 5\n+    When method get\n+    Then status 404\n+\n+    * url 'http://localhost:' + serverMock.port + '/credit' + '/delete'\n+    Given path 5\n+    When method delete\n+    Then status 404\n+\n+Scenario: Check on validation\n+    * url 'http://localhost:' + serverMock.port + '/credit'\n+    Given request {\"person\":{\"firstName\":\"Alexandra\",\"lastName\":\"Chernyshova\"},\"credit\":1000000,\"agreementAt\":\"2018-10-08\",\"currency\":\"RUB\",\"duration\":1,\"percent\":5}\n+    When method post\n+    Then status 200\n+    And def id = response.id\n+\n+    * url 'http://localhost:' + serverMock.port + '/credit' + '/delete'","path":"tests/bdd/close-credit-test.feature","position":28,"original_position":28,"commit_id":"e33925c7079225a8d6438d60845121f44fd8db19","original_commit_id":"e33925c7079225a8d6438d60845121f44fd8db19","user":{"login":"malinink","id":5726553,"node_id":"MDQ6VXNlcjU3MjY1NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/5726553?v=4","gravatar_id":"","url":"https://api.github.com/users/malinink","html_url":"https://github.com/malinink","followers_url":"https://api.github.com/users/malinink/followers","following_url":"https://api.github.com/users/malinink/following{/other_user}","gists_url":"https://api.github.com/users/malinink/gists{/gist_id}","starred_url":"https://api.github.com/users/malinink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinink/subscriptions","organizations_url":"https://api.github.com/users/malinink/orgs","repos_url":"https://api.github.com/users/malinink/repos","events_url":"https://api.github.com/users/malinink/events{/privacy}","received_events_url":"https://api.github.com/users/malinink/received_events","type":"User","site_admin":false},"body":"Может быть я не заметил в прошлый раз, но по спеке url другой. (без /delete)","created_at":"2018-11-23T06:07:34Z","updated_at":"2018-11-23T06:09:24Z","html_url":"https://github.com/apmath-web/credit-bdd/pull/13#discussion_r235851903","pull_request_url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/comments/235851903"},"html":{"href":"https://github.com/apmath-web/credit-bdd/pull/13#discussion_r235851903"},"pull_request":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13","id":228815598,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4ODE1NTk4","html_url":"https://github.com/apmath-web/credit-bdd/pull/13","diff_url":"https://github.com/apmath-web/credit-bdd/pull/13.diff","patch_url":"https://github.com/apmath-web/credit-bdd/pull/13.patch","issue_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues/13","number":13,"state":"open","locked":false,"title":"Test for delete method","user":{"login":"morozzArt","id":33790882,"node_id":"MDQ6VXNlcjMzNzkwODgy","avatar_url":"https://avatars1.githubusercontent.com/u/33790882?v=4","gravatar_id":"","url":"https://api.github.com/users/morozzArt","html_url":"https://github.com/morozzArt","followers_url":"https://api.github.com/users/morozzArt/followers","following_url":"https://api.github.com/users/morozzArt/following{/other_user}","gists_url":"https://api.github.com/users/morozzArt/gists{/gist_id}","starred_url":"https://api.github.com/users/morozzArt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morozzArt/subscriptions","organizations_url":"https://api.github.com/users/morozzArt/orgs","repos_url":"https://api.github.com/users/morozzArt/repos","events_url":"https://api.github.com/users/morozzArt/events{/privacy}","received_events_url":"https://api.github.com/users/morozzArt/received_events","type":"User","site_admin":false},"body":"- [x] Create test\r\n\r\n- [x] Create moc\r\n#7 ","created_at":"2018-11-06T19:55:25Z","updated_at":"2018-11-23T06:09:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88cd24bfdd55a5e2dc78262ec81594f36ad02454","assignee":{"login":"TimurSirkin","id":33329555,"node_id":"MDQ6VXNlcjMzMzI5NTU1","avatar_url":"https://avatars3.githubusercontent.com/u/33329555?v=4","gravatar_id":"","url":"https://api.github.com/users/TimurSirkin","html_url":"https://github.com/TimurSirkin","followers_url":"https://api.github.com/users/TimurSirkin/followers","following_url":"https://api.github.com/users/TimurSirkin/following{/other_user}","gists_url":"https://api.github.com/users/TimurSirkin/gists{/gist_id}","starred_url":"https://api.github.com/users/TimurSirkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimurSirkin/subscriptions","organizations_url":"https://api.github.com/users/TimurSirkin/orgs","repos_url":"https://api.github.com/users/TimurSirkin/repos","events_url":"https://api.github.com/users/TimurSirkin/events{/privacy}","received_events_url":"https://api.github.com/users/TimurSirkin/received_events","type":"User","site_admin":false},"assignees":[{"login":"TimurSirkin","id":33329555,"node_id":"MDQ6VXNlcjMzMzI5NTU1","avatar_url":"https://avatars3.githubusercontent.com/u/33329555?v=4","gravatar_id":"","url":"https://api.github.com/users/TimurSirkin","html_url":"https://github.com/TimurSirkin","followers_url":"https://api.github.com/users/TimurSirkin/followers","following_url":"https://api.github.com/users/TimurSirkin/following{/other_user}","gists_url":"https://api.github.com/users/TimurSirkin/gists{/gist_id}","starred_url":"https://api.github.com/users/TimurSirkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimurSirkin/subscriptions","organizations_url":"https://api.github.com/users/TimurSirkin/orgs","repos_url":"https://api.github.com/users/TimurSirkin/repos","events_url":"https://api.github.com/users/TimurSirkin/events{/privacy}","received_events_url":"https://api.github.com/users/TimurSirkin/received_events","type":"User","site_admin":false},{"login":"morozzArt","id":33790882,"node_id":"MDQ6VXNlcjMzNzkwODgy","avatar_url":"https://avatars1.githubusercontent.com/u/33790882?v=4","gravatar_id":"","url":"https://api.github.com/users/morozzArt","html_url":"https://github.com/morozzArt","followers_url":"https://api.github.com/users/morozzArt/followers","following_url":"https://api.github.com/users/morozzArt/following{/other_user}","gists_url":"https://api.github.com/users/morozzArt/gists{/gist_id}","starred_url":"https://api.github.com/users/morozzArt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morozzArt/subscriptions","organizations_url":"https://api.github.com/users/morozzArt/orgs","repos_url":"https://api.github.com/users/morozzArt/repos","events_url":"https://api.github.com/users/morozzArt/events{/privacy}","received_events_url":"https://api.github.com/users/morozzArt/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1117631697,"node_id":"MDU6TGFiZWwxMTE3NjMxNjk3","url":"https://api.github.com/repos/apmath-web/credit-bdd/labels/fixme","name":"fixme","color":"c67e09","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13/commits","review_comments_url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13/comments","review_comment_url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues/13/comments","statuses_url":"https://api.github.com/repos/apmath-web/credit-bdd/statuses/e33925c7079225a8d6438d60845121f44fd8db19","head":{"label":"apmath-web:feature-7","ref":"feature-7","sha":"e33925c7079225a8d6438d60845121f44fd8db19","user":{"login":"apmath-web","id":43432141,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDMyMTQx","avatar_url":"https://avatars2.githubusercontent.com/u/43432141?v=4","gravatar_id":"","url":"https://api.github.com/users/apmath-web","html_url":"https://github.com/apmath-web","followers_url":"https://api.github.com/users/apmath-web/followers","following_url":"https://api.github.com/users/apmath-web/following{/other_user}","gists_url":"https://api.github.com/users/apmath-web/gists{/gist_id}","starred_url":"https://api.github.com/users/apmath-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apmath-web/subscriptions","organizations_url":"https://api.github.com/users/apmath-web/orgs","repos_url":"https://api.github.com/users/apmath-web/repos","events_url":"https://api.github.com/users/apmath-web/events{/privacy}","received_events_url":"https://api.github.com/users/apmath-web/received_events","type":"Organization","site_admin":false},"repo":{"id":151871086,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE4NzEwODY=","name":"credit-bdd","full_name":"apmath-web/credit-bdd","private":false,"owner":{"login":"apmath-web","id":43432141,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDMyMTQx","avatar_url":"https://avatars2.githubusercontent.com/u/43432141?v=4","gravatar_id":"","url":"https://api.github.com/users/apmath-web","html_url":"https://github.com/apmath-web","followers_url":"https://api.github.com/users/apmath-web/followers","following_url":"https://api.github.com/users/apmath-web/following{/other_user}","gists_url":"https://api.github.com/users/apmath-web/gists{/gist_id}","starred_url":"https://api.github.com/users/apmath-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apmath-web/subscriptions","organizations_url":"https://api.github.com/users/apmath-web/orgs","repos_url":"https://api.github.com/users/apmath-web/repos","events_url":"https://api.github.com/users/apmath-web/events{/privacy}","received_events_url":"https://api.github.com/users/apmath-web/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apmath-web/credit-bdd","description":"BDD tests for credit","fork":false,"url":"https://api.github.com/repos/apmath-web/credit-bdd","forks_url":"https://api.github.com/repos/apmath-web/credit-bdd/forks","keys_url":"https://api.github.com/repos/apmath-web/credit-bdd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apmath-web/credit-bdd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apmath-web/credit-bdd/teams","hooks_url":"https://api.github.com/repos/apmath-web/credit-bdd/hooks","issue_events_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues/events{/number}","events_url":"https://api.github.com/repos/apmath-web/credit-bdd/events","assignees_url":"https://api.github.com/repos/apmath-web/credit-bdd/assignees{/user}","branches_url":"https://api.github.com/repos/apmath-web/credit-bdd/branches{/branch}","tags_url":"https://api.github.com/repos/apmath-web/credit-bdd/tags","blobs_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/refs{/sha}","trees_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apmath-web/credit-bdd/statuses/{sha}","languages_url":"https://api.github.com/repos/apmath-web/credit-bdd/languages","stargazers_url":"https://api.github.com/repos/apmath-web/credit-bdd/stargazers","contributors_url":"https://api.github.com/repos/apmath-web/credit-bdd/contributors","subscribers_url":"https://api.github.com/repos/apmath-web/credit-bdd/subscribers","subscription_url":"https://api.github.com/repos/apmath-web/credit-bdd/subscription","commits_url":"https://api.github.com/repos/apmath-web/credit-bdd/commits{/sha}","git_commits_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/commits{/sha}","comments_url":"https://api.github.com/repos/apmath-web/credit-bdd/comments{/number}","issue_comment_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues/comments{/number}","contents_url":"https://api.github.com/repos/apmath-web/credit-bdd/contents/{+path}","compare_url":"https://api.github.com/repos/apmath-web/credit-bdd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apmath-web/credit-bdd/merges","archive_url":"https://api.github.com/repos/apmath-web/credit-bdd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apmath-web/credit-bdd/downloads","issues_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues{/number}","pulls_url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls{/number}","milestones_url":"https://api.github.com/repos/apmath-web/credit-bdd/milestones{/number}","notifications_url":"https://api.github.com/repos/apmath-web/credit-bdd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apmath-web/credit-bdd/labels{/name}","releases_url":"https://api.github.com/repos/apmath-web/credit-bdd/releases{/id}","deployments_url":"https://api.github.com/repos/apmath-web/credit-bdd/deployments","created_at":"2018-10-06T18:44:40Z","updated_at":"2018-11-18T18:28:58Z","pushed_at":"2018-11-22T19:56:12Z","git_url":"git://github.com/apmath-web/credit-bdd.git","ssh_url":"git@github.com:apmath-web/credit-bdd.git","clone_url":"https://github.com/apmath-web/credit-bdd.git","svn_url":"https://github.com/apmath-web/credit-bdd","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":"Gherkin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":6,"open_issues":9,"watchers":0,"default_branch":"dev"}},"base":{"label":"apmath-web:dev","ref":"dev","sha":"313e363c78cdc420ab07d6fdf17c2b6d989ff24b","user":{"login":"apmath-web","id":43432141,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDMyMTQx","avatar_url":"https://avatars2.githubusercontent.com/u/43432141?v=4","gravatar_id":"","url":"https://api.github.com/users/apmath-web","html_url":"https://github.com/apmath-web","followers_url":"https://api.github.com/users/apmath-web/followers","following_url":"https://api.github.com/users/apmath-web/following{/other_user}","gists_url":"https://api.github.com/users/apmath-web/gists{/gist_id}","starred_url":"https://api.github.com/users/apmath-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apmath-web/subscriptions","organizations_url":"https://api.github.com/users/apmath-web/orgs","repos_url":"https://api.github.com/users/apmath-web/repos","events_url":"https://api.github.com/users/apmath-web/events{/privacy}","received_events_url":"https://api.github.com/users/apmath-web/received_events","type":"Organization","site_admin":false},"repo":{"id":151871086,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE4NzEwODY=","name":"credit-bdd","full_name":"apmath-web/credit-bdd","private":false,"owner":{"login":"apmath-web","id":43432141,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDMyMTQx","avatar_url":"https://avatars2.githubusercontent.com/u/43432141?v=4","gravatar_id":"","url":"https://api.github.com/users/apmath-web","html_url":"https://github.com/apmath-web","followers_url":"https://api.github.com/users/apmath-web/followers","following_url":"https://api.github.com/users/apmath-web/following{/other_user}","gists_url":"https://api.github.com/users/apmath-web/gists{/gist_id}","starred_url":"https://api.github.com/users/apmath-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apmath-web/subscriptions","organizations_url":"https://api.github.com/users/apmath-web/orgs","repos_url":"https://api.github.com/users/apmath-web/repos","events_url":"https://api.github.com/users/apmath-web/events{/privacy}","received_events_url":"https://api.github.com/users/apmath-web/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apmath-web/credit-bdd","description":"BDD tests for credit","fork":false,"url":"https://api.github.com/repos/apmath-web/credit-bdd","forks_url":"https://api.github.com/repos/apmath-web/credit-bdd/forks","keys_url":"https://api.github.com/repos/apmath-web/credit-bdd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apmath-web/credit-bdd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apmath-web/credit-bdd/teams","hooks_url":"https://api.github.com/repos/apmath-web/credit-bdd/hooks","issue_events_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues/events{/number}","events_url":"https://api.github.com/repos/apmath-web/credit-bdd/events","assignees_url":"https://api.github.com/repos/apmath-web/credit-bdd/assignees{/user}","branches_url":"https://api.github.com/repos/apmath-web/credit-bdd/branches{/branch}","tags_url":"https://api.github.com/repos/apmath-web/credit-bdd/tags","blobs_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/refs{/sha}","trees_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apmath-web/credit-bdd/statuses/{sha}","languages_url":"https://api.github.com/repos/apmath-web/credit-bdd/languages","stargazers_url":"https://api.github.com/repos/apmath-web/credit-bdd/stargazers","contributors_url":"https://api.github.com/repos/apmath-web/credit-bdd/contributors","subscribers_url":"https://api.github.com/repos/apmath-web/credit-bdd/subscribers","subscription_url":"https://api.github.com/repos/apmath-web/credit-bdd/subscription","commits_url":"https://api.github.com/repos/apmath-web/credit-bdd/commits{/sha}","git_commits_url":"https://api.github.com/repos/apmath-web/credit-bdd/git/commits{/sha}","comments_url":"https://api.github.com/repos/apmath-web/credit-bdd/comments{/number}","issue_comment_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues/comments{/number}","contents_url":"https://api.github.com/repos/apmath-web/credit-bdd/contents/{+path}","compare_url":"https://api.github.com/repos/apmath-web/credit-bdd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apmath-web/credit-bdd/merges","archive_url":"https://api.github.com/repos/apmath-web/credit-bdd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apmath-web/credit-bdd/downloads","issues_url":"https://api.github.com/repos/apmath-web/credit-bdd/issues{/number}","pulls_url":"https://api.github.com/repos/apmath-web/credit-bdd/pulls{/number}","milestones_url":"https://api.github.com/repos/apmath-web/credit-bdd/milestones{/number}","notifications_url":"https://api.github.com/repos/apmath-web/credit-bdd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apmath-web/credit-bdd/labels{/name}","releases_url":"https://api.github.com/repos/apmath-web/credit-bdd/releases{/id}","deployments_url":"https://api.github.com/repos/apmath-web/credit-bdd/deployments","created_at":"2018-10-06T18:44:40Z","updated_at":"2018-11-18T18:28:58Z","pushed_at":"2018-11-22T19:56:12Z","git_url":"git://github.com/apmath-web/credit-bdd.git","ssh_url":"git@github.com:apmath-web/credit-bdd.git","clone_url":"https://github.com/apmath-web/credit-bdd.git","svn_url":"https://github.com/apmath-web/credit-bdd","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":"Gherkin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":6,"open_issues":9,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13"},"html":{"href":"https://github.com/apmath-web/credit-bdd/pull/13"},"issue":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/issues/13"},"comments":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/apmath-web/credit-bdd/statuses/e33925c7079225a8d6438d60845121f44fd8db19"}},"author_association":"NONE"}}
{"actor":{"display_login":"malinink"}}