{"action":"created","comment":{"url":"https://api.github.com/repos/spree/spree/pulls/comments/23581816","id":23581816,"diff_hunk":"@@ -56,7 +56,7 @@\n     let(:line_items_price)        { BigDecimal.new(10) }\n     let(:line_item)               { order.line_items.first }\n     let(:inventory_unit)          { line_item.inventory_units.first }\n-    let(:payment)                 { build(:payment, amount: payment_amount, order: order, state: 'completed') }\n+    let(:payment)                 { build(:payment_completed, amount: payment_amount, order: order) }","path":"core/spec/models/spree/reimbursement_spec.rb","position":13,"original_position":13,"commit_id":"b95ee9b7a4263278884931c42e27d203f72820c3","original_commit_id":"b95ee9b7a4263278884931c42e27d203f72820c3","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [101/100]","created_at":"2015-01-27T01:49:22Z","updated_at":"2015-01-27T01:49:22Z","html_url":"https://github.com/spree/spree/pull/5952#discussion_r23581816","pull_request_url":"https://api.github.com/repos/spree/spree/pulls/5952","_links":{"self":{"href":"https://api.github.com/repos/spree/spree/pulls/comments/23581816"},"html":{"href":"https://github.com/spree/spree/pull/5952#discussion_r23581816"},"pull_request":{"href":"https://api.github.com/repos/spree/spree/pulls/5952"}}},"pull_request":{"url":"https://api.github.com/repos/spree/spree/pulls/5952","id":28057099,"html_url":"https://github.com/spree/spree/pull/5952","diff_url":"https://github.com/spree/spree/pull/5952.diff","patch_url":"https://github.com/spree/spree/pull/5952.patch","issue_url":"https://api.github.com/repos/spree/spree/issues/5952","number":5952,"state":"open","locked":false,"title":"Payment should remain pending until full amount captured.","user":{"login":"JDutil","id":25104,"avatar_url":"https://avatars.githubusercontent.com/u/25104?v=3","gravatar_id":"","url":"https://api.github.com/users/JDutil","html_url":"https://github.com/JDutil","followers_url":"https://api.github.com/users/JDutil/followers","following_url":"https://api.github.com/users/JDutil/following{/other_user}","gists_url":"https://api.github.com/users/JDutil/gists{/gist_id}","starred_url":"https://api.github.com/users/JDutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDutil/subscriptions","organizations_url":"https://api.github.com/users/JDutil/orgs","repos_url":"https://api.github.com/users/JDutil/repos","events_url":"https://api.github.com/users/JDutil/events{/privacy}","received_events_url":"https://api.github.com/users/JDutil/received_events","type":"User","site_admin":false},"body":"It is misleading if your capturing payment on each shipment dispatched to display the payment as complete until the full amount is captured.","created_at":"2015-01-26T20:23:39Z","updated_at":"2015-01-27T01:49:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea32526f12d12a7af06e1e7a073f8b5b7bcf43ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spree/spree/pulls/5952/commits","review_comments_url":"https://api.github.com/repos/spree/spree/pulls/5952/comments","review_comment_url":"https://api.github.com/repos/spree/spree/pulls/comments/{number}","comments_url":"https://api.github.com/repos/spree/spree/issues/5952/comments","statuses_url":"https://api.github.com/repos/spree/spree/statuses/b95ee9b7a4263278884931c42e27d203f72820c3","head":{"label":"JDutil:auto-capture-dispatch","ref":"auto-capture-dispatch","sha":"b95ee9b7a4263278884931c42e27d203f72820c3","user":{"login":"JDutil","id":25104,"avatar_url":"https://avatars.githubusercontent.com/u/25104?v=3","gravatar_id":"","url":"https://api.github.com/users/JDutil","html_url":"https://github.com/JDutil","followers_url":"https://api.github.com/users/JDutil/followers","following_url":"https://api.github.com/users/JDutil/following{/other_user}","gists_url":"https://api.github.com/users/JDutil/gists{/gist_id}","starred_url":"https://api.github.com/users/JDutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDutil/subscriptions","organizations_url":"https://api.github.com/users/JDutil/orgs","repos_url":"https://api.github.com/users/JDutil/repos","events_url":"https://api.github.com/users/JDutil/events{/privacy}","received_events_url":"https://api.github.com/users/JDutil/received_events","type":"User","site_admin":false},"repo":{"id":1686613,"name":"spree","full_name":"JDutil/spree","owner":{"login":"JDutil","id":25104,"avatar_url":"https://avatars.githubusercontent.com/u/25104?v=3","gravatar_id":"","url":"https://api.github.com/users/JDutil","html_url":"https://github.com/JDutil","followers_url":"https://api.github.com/users/JDutil/followers","following_url":"https://api.github.com/users/JDutil/following{/other_user}","gists_url":"https://api.github.com/users/JDutil/gists{/gist_id}","starred_url":"https://api.github.com/users/JDutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDutil/subscriptions","organizations_url":"https://api.github.com/users/JDutil/orgs","repos_url":"https://api.github.com/users/JDutil/repos","events_url":"https://api.github.com/users/JDutil/events{/privacy}","received_events_url":"https://api.github.com/users/JDutil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JDutil/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":true,"url":"https://api.github.com/repos/JDutil/spree","forks_url":"https://api.github.com/repos/JDutil/spree/forks","keys_url":"https://api.github.com/repos/JDutil/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JDutil/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JDutil/spree/teams","hooks_url":"https://api.github.com/repos/JDutil/spree/hooks","issue_events_url":"https://api.github.com/repos/JDutil/spree/issues/events{/number}","events_url":"https://api.github.com/repos/JDutil/spree/events","assignees_url":"https://api.github.com/repos/JDutil/spree/assignees{/user}","branches_url":"https://api.github.com/repos/JDutil/spree/branches{/branch}","tags_url":"https://api.github.com/repos/JDutil/spree/tags","blobs_url":"https://api.github.com/repos/JDutil/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JDutil/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JDutil/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/JDutil/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JDutil/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/JDutil/spree/languages","stargazers_url":"https://api.github.com/repos/JDutil/spree/stargazers","contributors_url":"https://api.github.com/repos/JDutil/spree/contributors","subscribers_url":"https://api.github.com/repos/JDutil/spree/subscribers","subscription_url":"https://api.github.com/repos/JDutil/spree/subscription","commits_url":"https://api.github.com/repos/JDutil/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/JDutil/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/JDutil/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/JDutil/spree/issues/comments/{number}","contents_url":"https://api.github.com/repos/JDutil/spree/contents/{+path}","compare_url":"https://api.github.com/repos/JDutil/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JDutil/spree/merges","archive_url":"https://api.github.com/repos/JDutil/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JDutil/spree/downloads","issues_url":"https://api.github.com/repos/JDutil/spree/issues{/number}","pulls_url":"https://api.github.com/repos/JDutil/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/JDutil/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/JDutil/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JDutil/spree/labels{/name}","releases_url":"https://api.github.com/repos/JDutil/spree/releases{/id}","created_at":"2011-05-01T02:07:32Z","updated_at":"2015-01-27T01:44:47Z","pushed_at":"2015-01-27T01:48:55Z","git_url":"git://github.com/JDutil/spree.git","ssh_url":"git@github.com:JDutil/spree.git","clone_url":"https://github.com/JDutil/spree.git","svn_url":"https://github.com/JDutil/spree","homepage":"http://spreecommerce.com","size":74690,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"spree:master","ref":"master","sha":"89647502c634f9b921dc75e32bbbeb0967002325","user":{"login":"spree","id":56702,"avatar_url":"https://avatars.githubusercontent.com/u/56702?v=3","gravatar_id":"","url":"https://api.github.com/users/spree","html_url":"https://github.com/spree","followers_url":"https://api.github.com/users/spree/followers","following_url":"https://api.github.com/users/spree/following{/other_user}","gists_url":"https://api.github.com/users/spree/gists{/gist_id}","starred_url":"https://api.github.com/users/spree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree/subscriptions","organizations_url":"https://api.github.com/users/spree/orgs","repos_url":"https://api.github.com/users/spree/repos","events_url":"https://api.github.com/users/spree/events{/privacy}","received_events_url":"https://api.github.com/users/spree/received_events","type":"Organization","site_admin":false},"repo":{"id":3314,"name":"spree","full_name":"spree/spree","owner":{"login":"spree","id":56702,"avatar_url":"https://avatars.githubusercontent.com/u/56702?v=3","gravatar_id":"","url":"https://api.github.com/users/spree","html_url":"https://github.com/spree","followers_url":"https://api.github.com/users/spree/followers","following_url":"https://api.github.com/users/spree/following{/other_user}","gists_url":"https://api.github.com/users/spree/gists{/gist_id}","starred_url":"https://api.github.com/users/spree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree/subscriptions","organizations_url":"https://api.github.com/users/spree/orgs","repos_url":"https://api.github.com/users/spree/repos","events_url":"https://api.github.com/users/spree/events{/privacy}","received_events_url":"https://api.github.com/users/spree/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spree/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":false,"url":"https://api.github.com/repos/spree/spree","forks_url":"https://api.github.com/repos/spree/spree/forks","keys_url":"https://api.github.com/repos/spree/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spree/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spree/spree/teams","hooks_url":"https://api.github.com/repos/spree/spree/hooks","issue_events_url":"https://api.github.com/repos/spree/spree/issues/events{/number}","events_url":"https://api.github.com/repos/spree/spree/events","assignees_url":"https://api.github.com/repos/spree/spree/assignees{/user}","branches_url":"https://api.github.com/repos/spree/spree/branches{/branch}","tags_url":"https://api.github.com/repos/spree/spree/tags","blobs_url":"https://api.github.com/repos/spree/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spree/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spree/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/spree/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spree/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/spree/spree/languages","stargazers_url":"https://api.github.com/repos/spree/spree/stargazers","contributors_url":"https://api.github.com/repos/spree/spree/contributors","subscribers_url":"https://api.github.com/repos/spree/spree/subscribers","subscription_url":"https://api.github.com/repos/spree/spree/subscription","commits_url":"https://api.github.com/repos/spree/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/spree/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/spree/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/spree/spree/issues/comments/{number}","contents_url":"https://api.github.com/repos/spree/spree/contents/{+path}","compare_url":"https://api.github.com/repos/spree/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spree/spree/merges","archive_url":"https://api.github.com/repos/spree/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spree/spree/downloads","issues_url":"https://api.github.com/repos/spree/spree/issues{/number}","pulls_url":"https://api.github.com/repos/spree/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/spree/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/spree/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spree/spree/labels{/name}","releases_url":"https://api.github.com/repos/spree/spree/releases{/id}","created_at":"2008-03-10T14:45:35Z","updated_at":"2015-01-27T01:45:16Z","pushed_at":"2015-01-27T01:45:15Z","git_url":"git://github.com/spree/spree.git","ssh_url":"git@github.com:spree/spree.git","clone_url":"https://github.com/spree/spree.git","svn_url":"https://github.com/spree/spree","homepage":"http://spreecommerce.com","size":127752,"stargazers_count":5875,"watchers_count":5875,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2745,"mirror_url":null,"open_issues_count":88,"forks":2745,"open_issues":88,"watchers":5875,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spree/spree/pulls/5952"},"html":{"href":"https://github.com/spree/spree/pull/5952"},"issue":{"href":"https://api.github.com/repos/spree/spree/issues/5952"},"comments":{"href":"https://api.github.com/repos/spree/spree/issues/5952/comments"},"review_comments":{"href":"https://api.github.com/repos/spree/spree/pulls/5952/comments"},"review_comment":{"href":"https://api.github.com/repos/spree/spree/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/spree/spree/pulls/5952/commits"},"statuses":{"href":"https://api.github.com/repos/spree/spree/statuses/b95ee9b7a4263278884931c42e27d203f72820c3"}}}}