{"action":"created","comment":{"url":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments/33085319","id":33085319,"diff_hunk":"@@ -0,0 +1,73 @@\n+require 'spec_helper'\n+\n+\n+feature \"User registers\", { js: true, vcr: true } do\n+  background do\n+    visit register_path\n+  end\n+\n+  valid_card_number = \"4242 4242 4242 4242\"\n+  declining_card_number = \"4000 0000 0000 0002\"\n+  expired_card_number = \"4000 0000 0000 0069\"\n+\n+  scenario \"with valid card and valid user info\" do\n+    fill_in_valid_user_info\n+    fill_in_credit_card_info_with valid_card_number\n+    click_button \"Sign Up\"\n+    expect(page).to have_css('.alert-success')\n+  end\n+\n+  scenario \"with invalid card and valid user input\" do\n+    fill_in_valid_user_info\n+    fill_in_credit_card_info_with declining_card_number\n+    click_button \"Sign Up\"\n+    expect(page).to have_content('Your card was declined.')","path":"spec/features/user_registers_spec.rb","position":24,"original_position":24,"commit_id":"3ee79e05928256f1f98b128e8886ec40b19a7d98","original_commit_id":"3ee79e05928256f1f98b128e8886ec40b19a7d98","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-23T20:06:49Z","updated_at":"2015-06-23T20:06:49Z","html_url":"https://github.com/falonofthetower/myflix/pull/37#discussion_r33085319","pull_request_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments/33085319"},"html":{"href":"https://github.com/falonofthetower/myflix/pull/37#discussion_r33085319"},"pull_request":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/falonofthetower/myflix/pulls/37","id":38377089,"html_url":"https://github.com/falonofthetower/myflix/pull/37","diff_url":"https://github.com/falonofthetower/myflix/pull/37.diff","patch_url":"https://github.com/falonofthetower/myflix/pull/37.patch","issue_url":"https://api.github.com/repos/falonofthetower/myflix/issues/37","number":37,"state":"open","locked":false,"title":"Stripe","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-23T20:06:39Z","updated_at":"2015-06-23T20:06:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43406310032fa5f0637c3036b9f5e973164fc5b9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/37/commits","review_comments_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/37/comments","review_comment_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/falonofthetower/myflix/issues/37/comments","statuses_url":"https://api.github.com/repos/falonofthetower/myflix/statuses/3ee79e05928256f1f98b128e8886ec40b19a7d98","head":{"label":"falonofthetower:stripe","ref":"stripe","sha":"3ee79e05928256f1f98b128e8886ec40b19a7d98","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"repo":{"id":28207266,"name":"myflix","full_name":"falonofthetower/myflix","owner":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/falonofthetower/myflix","description":"","fork":false,"url":"https://api.github.com/repos/falonofthetower/myflix","forks_url":"https://api.github.com/repos/falonofthetower/myflix/forks","keys_url":"https://api.github.com/repos/falonofthetower/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falonofthetower/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falonofthetower/myflix/teams","hooks_url":"https://api.github.com/repos/falonofthetower/myflix/hooks","issue_events_url":"https://api.github.com/repos/falonofthetower/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/falonofthetower/myflix/events","assignees_url":"https://api.github.com/repos/falonofthetower/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/falonofthetower/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/falonofthetower/myflix/tags","blobs_url":"https://api.github.com/repos/falonofthetower/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falonofthetower/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falonofthetower/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/falonofthetower/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falonofthetower/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/falonofthetower/myflix/languages","stargazers_url":"https://api.github.com/repos/falonofthetower/myflix/stargazers","contributors_url":"https://api.github.com/repos/falonofthetower/myflix/contributors","subscribers_url":"https://api.github.com/repos/falonofthetower/myflix/subscribers","subscription_url":"https://api.github.com/repos/falonofthetower/myflix/subscription","commits_url":"https://api.github.com/repos/falonofthetower/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/falonofthetower/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/falonofthetower/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/falonofthetower/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/falonofthetower/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/falonofthetower/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falonofthetower/myflix/merges","archive_url":"https://api.github.com/repos/falonofthetower/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falonofthetower/myflix/downloads","issues_url":"https://api.github.com/repos/falonofthetower/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/falonofthetower/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/falonofthetower/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/falonofthetower/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falonofthetower/myflix/labels{/name}","releases_url":"https://api.github.com/repos/falonofthetower/myflix/releases{/id}","created_at":"2014-12-19T00:10:03Z","updated_at":"2015-05-04T19:42:54Z","pushed_at":"2015-06-23T20:06:39Z","git_url":"git://github.com/falonofthetower/myflix.git","ssh_url":"git@github.com:falonofthetower/myflix.git","clone_url":"https://github.com/falonofthetower/myflix.git","svn_url":"https://github.com/falonofthetower/myflix","homepage":null,"size":1584,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"falonofthetower:staging","ref":"staging","sha":"2d92da1c4af95163b5b1b204801bc69eec09eba9","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"repo":{"id":28207266,"name":"myflix","full_name":"falonofthetower/myflix","owner":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/falonofthetower/myflix","description":"","fork":false,"url":"https://api.github.com/repos/falonofthetower/myflix","forks_url":"https://api.github.com/repos/falonofthetower/myflix/forks","keys_url":"https://api.github.com/repos/falonofthetower/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falonofthetower/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falonofthetower/myflix/teams","hooks_url":"https://api.github.com/repos/falonofthetower/myflix/hooks","issue_events_url":"https://api.github.com/repos/falonofthetower/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/falonofthetower/myflix/events","assignees_url":"https://api.github.com/repos/falonofthetower/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/falonofthetower/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/falonofthetower/myflix/tags","blobs_url":"https://api.github.com/repos/falonofthetower/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falonofthetower/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falonofthetower/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/falonofthetower/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falonofthetower/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/falonofthetower/myflix/languages","stargazers_url":"https://api.github.com/repos/falonofthetower/myflix/stargazers","contributors_url":"https://api.github.com/repos/falonofthetower/myflix/contributors","subscribers_url":"https://api.github.com/repos/falonofthetower/myflix/subscribers","subscription_url":"https://api.github.com/repos/falonofthetower/myflix/subscription","commits_url":"https://api.github.com/repos/falonofthetower/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/falonofthetower/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/falonofthetower/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/falonofthetower/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/falonofthetower/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/falonofthetower/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falonofthetower/myflix/merges","archive_url":"https://api.github.com/repos/falonofthetower/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falonofthetower/myflix/downloads","issues_url":"https://api.github.com/repos/falonofthetower/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/falonofthetower/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/falonofthetower/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/falonofthetower/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falonofthetower/myflix/labels{/name}","releases_url":"https://api.github.com/repos/falonofthetower/myflix/releases{/id}","created_at":"2014-12-19T00:10:03Z","updated_at":"2015-05-04T19:42:54Z","pushed_at":"2015-06-23T20:06:39Z","git_url":"git://github.com/falonofthetower/myflix.git","ssh_url":"git@github.com:falonofthetower/myflix.git","clone_url":"https://github.com/falonofthetower/myflix.git","svn_url":"https://github.com/falonofthetower/myflix","homepage":null,"size":1584,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/37"},"html":{"href":"https://github.com/falonofthetower/myflix/pull/37"},"issue":{"href":"https://api.github.com/repos/falonofthetower/myflix/issues/37"},"comments":{"href":"https://api.github.com/repos/falonofthetower/myflix/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/falonofthetower/myflix/statuses/3ee79e05928256f1f98b128e8886ec40b19a7d98"}}}}