{"action":"created","comment":{"url":"https://api.github.com/repos/ripple/ripple-lib/pulls/comments/35169420","id":35169420,"diff_hunk":"@@ -50,6 +50,33 @@ describe('RippleAPI', function() {\n       _.partial(checkResult, responses.preparePayment, done));\n   });\n \n+  it('preparePayment - 2', function(done) {\n+    this.api.preparePayment(address, requests.preparePayment2, instructions,\n+      _.partial(checkResult, responses.preparePayment2, done));\n+  });\n+\n+  it('preparePayment - 3', function(done) {\n+    const paymentRequest = _.cloneDeep(requests.preparePayment2);\n+    paymentRequest.source.amount.currency = 'USD';\n+    paymentRequest.destination.amount.currency = 'LTC';\n+    const expected = _.cloneDeep(responses.preparePayment2);","path":"test/api-test.js","position":null,"original_position":13,"commit_id":"af23c75dbf3a3c3d3618459a957d41e9c8726810","original_commit_id":"96057aefd2011e1cefef7fb6a0937f8d40d8ae23","user":{"login":"clark800","id":1238722,"avatar_url":"https://avatars.githubusercontent.com/u/1238722?v=3","gravatar_id":"","url":"https://api.github.com/users/clark800","html_url":"https://github.com/clark800","followers_url":"https://api.github.com/users/clark800/followers","following_url":"https://api.github.com/users/clark800/following{/other_user}","gists_url":"https://api.github.com/users/clark800/gists{/gist_id}","starred_url":"https://api.github.com/users/clark800/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clark800/subscriptions","organizations_url":"https://api.github.com/users/clark800/orgs","repos_url":"https://api.github.com/users/clark800/repos","events_url":"https://api.github.com/users/clark800/events{/privacy}","received_events_url":"https://api.github.com/users/clark800/received_events","type":"User","site_admin":false},"body":"I'm thinking it might be better to just make new fixtures for this case even if there is some redundancy in the fixtures since it will get rid of all these lines of code.","created_at":"2015-07-22T00:09:27Z","updated_at":"2015-07-22T00:09:27Z","html_url":"https://github.com/ripple/ripple-lib/pull/443#discussion_r35169420","pull_request_url":"https://api.github.com/repos/ripple/ripple-lib/pulls/443","_links":{"self":{"href":"https://api.github.com/repos/ripple/ripple-lib/pulls/comments/35169420"},"html":{"href":"https://github.com/ripple/ripple-lib/pull/443#discussion_r35169420"},"pull_request":{"href":"https://api.github.com/repos/ripple/ripple-lib/pulls/443"}}},"pull_request":{"url":"https://api.github.com/repos/ripple/ripple-lib/pulls/443","id":40518313,"html_url":"https://github.com/ripple/ripple-lib/pull/443","diff_url":"https://github.com/ripple/ripple-lib/pull/443.diff","patch_url":"https://github.com/ripple/ripple-lib/pull/443.patch","issue_url":"https://api.github.com/repos/ripple/ripple-lib/issues/443","number":443,"state":"open","locked":false,"title":"cover src\\api\\transaction\\payment.js with unit tests","user":{"login":"darkdarkdragon","id":2035357,"avatar_url":"https://avatars.githubusercontent.com/u/2035357?v=3","gravatar_id":"","url":"https://api.github.com/users/darkdarkdragon","html_url":"https://github.com/darkdarkdragon","followers_url":"https://api.github.com/users/darkdarkdragon/followers","following_url":"https://api.github.com/users/darkdarkdragon/following{/other_user}","gists_url":"https://api.github.com/users/darkdarkdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/darkdarkdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkdarkdragon/subscriptions","organizations_url":"https://api.github.com/users/darkdarkdragon/orgs","repos_url":"https://api.github.com/users/darkdarkdragon/repos","events_url":"https://api.github.com/users/darkdarkdragon/events{/privacy}","received_events_url":"https://api.github.com/users/darkdarkdragon/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-22T00:03:20Z","updated_at":"2015-07-22T00:09:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"504d37d860e8bb7d825945c21bed8f71073c6a70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ripple/ripple-lib/pulls/443/commits","review_comments_url":"https://api.github.com/repos/ripple/ripple-lib/pulls/443/comments","review_comment_url":"https://api.github.com/repos/ripple/ripple-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ripple/ripple-lib/issues/443/comments","statuses_url":"https://api.github.com/repos/ripple/ripple-lib/statuses/af23c75dbf3a3c3d3618459a957d41e9c8726810","head":{"label":"darkdarkdragon:develop-RLJS-370-5","ref":"develop-RLJS-370-5","sha":"af23c75dbf3a3c3d3618459a957d41e9c8726810","user":{"login":"darkdarkdragon","id":2035357,"avatar_url":"https://avatars.githubusercontent.com/u/2035357?v=3","gravatar_id":"","url":"https://api.github.com/users/darkdarkdragon","html_url":"https://github.com/darkdarkdragon","followers_url":"https://api.github.com/users/darkdarkdragon/followers","following_url":"https://api.github.com/users/darkdarkdragon/following{/other_user}","gists_url":"https://api.github.com/users/darkdarkdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/darkdarkdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkdarkdragon/subscriptions","organizations_url":"https://api.github.com/users/darkdarkdragon/orgs","repos_url":"https://api.github.com/users/darkdarkdragon/repos","events_url":"https://api.github.com/users/darkdarkdragon/events{/privacy}","received_events_url":"https://api.github.com/users/darkdarkdragon/received_events","type":"User","site_admin":false},"repo":{"id":29372989,"name":"ripple-lib","full_name":"darkdarkdragon/ripple-lib","owner":{"login":"darkdarkdragon","id":2035357,"avatar_url":"https://avatars.githubusercontent.com/u/2035357?v=3","gravatar_id":"","url":"https://api.github.com/users/darkdarkdragon","html_url":"https://github.com/darkdarkdragon","followers_url":"https://api.github.com/users/darkdarkdragon/followers","following_url":"https://api.github.com/users/darkdarkdragon/following{/other_user}","gists_url":"https://api.github.com/users/darkdarkdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/darkdarkdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkdarkdragon/subscriptions","organizations_url":"https://api.github.com/users/darkdarkdragon/orgs","repos_url":"https://api.github.com/users/darkdarkdragon/repos","events_url":"https://api.github.com/users/darkdarkdragon/events{/privacy}","received_events_url":"https://api.github.com/users/darkdarkdragon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darkdarkdragon/ripple-lib","description":"A JavaScript API for interacting with Ripple in Node.js and the browser","fork":true,"url":"https://api.github.com/repos/darkdarkdragon/ripple-lib","forks_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/forks","keys_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/teams","hooks_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/hooks","issue_events_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/issues/events{/number}","events_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/events","assignees_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/assignees{/user}","branches_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/branches{/branch}","tags_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/tags","blobs_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/languages","stargazers_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/stargazers","contributors_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/contributors","subscribers_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/subscribers","subscription_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/subscription","commits_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/contents/{+path}","compare_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/merges","archive_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/downloads","issues_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/issues{/number}","pulls_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/labels{/name}","releases_url":"https://api.github.com/repos/darkdarkdragon/ripple-lib/releases{/id}","created_at":"2015-01-16T23:42:55Z","updated_at":"2015-04-23T21:59:17Z","pushed_at":"2015-07-22T00:09:25Z","git_url":"git://github.com/darkdarkdragon/ripple-lib.git","ssh_url":"git@github.com:darkdarkdragon/ripple-lib.git","clone_url":"https://github.com/darkdarkdragon/ripple-lib.git","svn_url":"https://github.com/darkdarkdragon/ripple-lib","homepage":"","size":11922,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"ripple:develop","ref":"develop","sha":"e997c44a180d6d7da79e33736136ae049f9bad74","user":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"repo":{"id":9681561,"name":"ripple-lib","full_name":"ripple/ripple-lib","owner":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ripple/ripple-lib","description":"A JavaScript API for interacting with Ripple in Node.js and the browser","fork":false,"url":"https://api.github.com/repos/ripple/ripple-lib","forks_url":"https://api.github.com/repos/ripple/ripple-lib/forks","keys_url":"https://api.github.com/repos/ripple/ripple-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ripple/ripple-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ripple/ripple-lib/teams","hooks_url":"https://api.github.com/repos/ripple/ripple-lib/hooks","issue_events_url":"https://api.github.com/repos/ripple/ripple-lib/issues/events{/number}","events_url":"https://api.github.com/repos/ripple/ripple-lib/events","assignees_url":"https://api.github.com/repos/ripple/ripple-lib/assignees{/user}","branches_url":"https://api.github.com/repos/ripple/ripple-lib/branches{/branch}","tags_url":"https://api.github.com/repos/ripple/ripple-lib/tags","blobs_url":"https://api.github.com/repos/ripple/ripple-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ripple/ripple-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ripple/ripple-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/ripple/ripple-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ripple/ripple-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/ripple/ripple-lib/languages","stargazers_url":"https://api.github.com/repos/ripple/ripple-lib/stargazers","contributors_url":"https://api.github.com/repos/ripple/ripple-lib/contributors","subscribers_url":"https://api.github.com/repos/ripple/ripple-lib/subscribers","subscription_url":"https://api.github.com/repos/ripple/ripple-lib/subscription","commits_url":"https://api.github.com/repos/ripple/ripple-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/ripple/ripple-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/ripple/ripple-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/ripple/ripple-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/ripple/ripple-lib/contents/{+path}","compare_url":"https://api.github.com/repos/ripple/ripple-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ripple/ripple-lib/merges","archive_url":"https://api.github.com/repos/ripple/ripple-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ripple/ripple-lib/downloads","issues_url":"https://api.github.com/repos/ripple/ripple-lib/issues{/number}","pulls_url":"https://api.github.com/repos/ripple/ripple-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/ripple/ripple-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/ripple/ripple-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ripple/ripple-lib/labels{/name}","releases_url":"https://api.github.com/repos/ripple/ripple-lib/releases{/id}","created_at":"2013-04-25T21:17:19Z","updated_at":"2015-07-21T00:01:04Z","pushed_at":"2015-07-22T00:09:25Z","git_url":"git://github.com/ripple/ripple-lib.git","ssh_url":"git@github.com:ripple/ripple-lib.git","clone_url":"https://github.com/ripple/ripple-lib.git","svn_url":"https://github.com/ripple/ripple-lib","homepage":"","size":18016,"stargazers_count":413,"watchers_count":413,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":21,"forks":145,"open_issues":21,"watchers":413,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ripple/ripple-lib/pulls/443"},"html":{"href":"https://github.com/ripple/ripple-lib/pull/443"},"issue":{"href":"https://api.github.com/repos/ripple/ripple-lib/issues/443"},"comments":{"href":"https://api.github.com/repos/ripple/ripple-lib/issues/443/comments"},"review_comments":{"href":"https://api.github.com/repos/ripple/ripple-lib/pulls/443/comments"},"review_comment":{"href":"https://api.github.com/repos/ripple/ripple-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ripple/ripple-lib/pulls/443/commits"},"statuses":{"href":"https://api.github.com/repos/ripple/ripple-lib/statuses/af23c75dbf3a3c3d3618459a957d41e9c8726810"}}}}