{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/36594425","id":36594425,"diff_hunk":"@@ -0,0 +1,268 @@\n+\n+Given(/^I am on the homepage$/) do\n+  visit '/'\n+end\n+\n+When(/^I press \"([^\"]*)\"$/) do |arg1|\n+  click_on(arg1)\n+end\n+\n+Then(/^I should be on \"([^\"]*)\"$/) do |arg1|\n+  visit '/SignIn'\n+end\n+\n+Then(/^I should see \"([^\"]*)\"$/) do |arg1|\n+  have_text(arg1)\n+end\n+\n+Given(/^I am on the SignIn page$/) do\n+  visit  '/SignIn'\n+end\n+\n+When(/^I fill in \"([^\"]*)\" with \"([^\"]*)\"$/) do |arg1, arg2|\n+  fill_in \"name\", with: \"Richard\"\n+end\n+\n+When(/^press \"([^\"]*)\"$/) do |arg1|\n+  click_link(arg1)\n+end\n+\n+Then(/^I Should see \"([^\"]*)\"$/) do |arg1|\n+  have_content(arg1)\n+end\n+\n+Given(/^I am on the PlayGame page$/) do\n+  visit '/PlayGame'\n+end\n+\n+When(/^I select \"([^\"]*)\" from \"([^\"]*)\"$/) do |arg1, arg2|\n+  select(arg1, :from => arg2)\n+end\n+\n+Then(/^I will have \"([^\"]*)\"$/) do |arg1|\n+  have_content(arg1)\n+end\n+\n+Then(/^I will be on \"([^\"]*)\"$/) do |arg1|\n+  visit '/Results'\n+end\n+\n+# # Taken from the cucumber-rails project.\n+# # IMPORTANT: This file is generated by cucumber-sinatra - edit at your own peril.\n+# # It is recommended to regenerate this file in the future when you upgrade to a\n+# # newer version of cucumber-sinatra. Consider adding your own code to a new file\n+# # instead of editing this one. Cucumber will automatically load all features/**/*.rb\n+# # files.\n+\n+# require 'uri'\n+# require 'cgi'\n+# require File.expand_path(File.join(File.dirname(__FILE__), \"..\", \"support\", \"paths\"))\n+\n+# module WithinHelpers\n+#   def with_scope(locator)\n+#     locator ? within(locator) { yield } : yield\n+#   end\n+# end\n+# World(WithinHelpers)\n+\n+# Given /^(?:|I )am on (.+)$/ do |page_name|\n+#   visit path_to(page_name)\n+# end\n+\n+# When /^(?:|I )go to (.+)$/ do |page_name|\n+#   visit path_to(page_name)\n+# end\n+\n+# When /^(?:|I )press \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |button, selector|\n+#   with_scope(selector) do\n+#     click_button(button)\n+#   end\n+# end\n+\n+# When /^(?:|I )follow \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |link, selector|\n+#   with_scope(selector) do\n+#     click_link(link)\n+#   end\n+# end\n+\n+# When /^(?:|I )fill in \"([^\\\"]*)\" with \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |field, value, selector|\n+#   with_scope(selector) do\n+#     fill_in(field, :with => value)\n+#   end\n+# end\n+\n+# When /^(?:|I )fill in \"([^\\\"]*)\" for \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |value, field, selector|\n+#   with_scope(selector) do\n+#     fill_in(field, :with => value)\n+#   end\n+# end\n+\n+# # Use this to fill in an entire form with data from a table. Example:\n+# #\n+# #   When I fill in the following:\n+# #     | Account Number | 5002       |\n+# #     | Expiry date    | 2009-11-01 |\n+# #     | Note           | Nice guy   |\n+# #     | Wants Email?   |            |\n+# #\n+# # TODO: Add support for checkbox, select og option\n+# # based on naming conventions.\n+# #\n+# When /^(?:|I )fill in the following(?: within \"([^\\\"]*)\")?:$/ do |selector, fields|\n+#   with_scope(selector) do\n+#     fields.rows_hash.each do |name, value|\n+#       When %{I fill in \"#{name}\" with \"#{value}\"}\n+#     end\n+#   end\n+# end\n+\n+# When /^(?:|I )select \"([^\\\"]*)\" from \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |value, field, selector|\n+#   with_scope(selector) do\n+#     select(value, :from => field)\n+#   end\n+# end\n+\n+# When /^(?:|I )check \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |field, selector|\n+#   with_scope(selector) do\n+#     check(field)\n+#   end\n+# end\n+\n+# When /^(?:|I )uncheck \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |field, selector|\n+#   with_scope(selector) do\n+#     uncheck(field)\n+#   end\n+# end\n+\n+# When /^(?:|I )choose \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |field, selector|\n+#   with_scope(selector) do\n+#     choose(field)\n+#   end\n+# end\n+\n+# When /^(?:|I )attach the file \"([^\\\"]*)\" to \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |path, field, selector|\n+#   with_scope(selector) do\n+#     attach_file(field, path)\n+#   end\n+# end\n+\n+# Then /^(?:|I )should see JSON:$/ do |expected_json|\n+#   require 'json'\n+#   expected = JSON.pretty_generate(JSON.parse(expected_json))\n+#   actual   = JSON.pretty_generate(JSON.parse(response.body))\n+#   expected.should == actual\n+# end\n+\n+# Then /^(?:|I )should see \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |text, selector|\n+#   with_scope(selector) do\n+#     if page.respond_to? :should\n+#       page.should have_content(text)\n+#     else\n+#       assert page.has_content?(text)\n+#     end\n+#   end\n+# end\n+\n+# Then /^(?:|I )should see \\/([^\\/]*)\\/(?: within \"([^\\\"]*)\")?$/ do |regexp, selector|\n+#   regexp = Regexp.new(regexp)\n+#   with_scope(selector) do\n+#     if page.respond_to? :should\n+#       page.should have_xpath('//*', :text => regexp)\n+#     else\n+#       assert page.has_xpath?('//*', :text => regexp)\n+#     end\n+#   end\n+# end\n+\n+# Then /^(?:|I )should not see \"([^\\\"]*)\"(?: within \"([^\\\"]*)\")?$/ do |text, selector|\n+#   with_scope(selector) do\n+#     if page.respond_to? :should\n+#       page.should have_no_content(text)\n+#     else\n+#       assert page.has_no_content?(text)\n+#     end\n+#   end\n+# end\n+\n+# Then /^(?:|I )should not see \\/([^\\/]*)\\/(?: within \"([^\\\"]*)\")?$/ do |regexp, selector|","path":"features/step_definitions/web_steps.rb","position":187,"original_position":187,"commit_id":"e662cb766b60d3d3b63613d56f062e4bdfec3fc8","original_commit_id":"e662cb766b60d3d3b63613d56f062e4bdfec3fc8","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. [90/80]","created_at":"2015-08-09T22:20:17Z","updated_at":"2015-08-09T22:20:17Z","html_url":"https://github.com/makersacademy/rps-challenge/pull/122#discussion_r36594425","pull_request_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/36594425"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/122#discussion_r36594425"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122","id":41978196,"html_url":"https://github.com/makersacademy/rps-challenge/pull/122","diff_url":"https://github.com/makersacademy/rps-challenge/pull/122.diff","patch_url":"https://github.com/makersacademy/rps-challenge/pull/122.patch","issue_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/122","number":122,"state":"open","locked":false,"title":"Incomplete","user":{"login":"richgeog","id":11146599,"avatar_url":"https://avatars.githubusercontent.com/u/11146599?v=3","gravatar_id":"","url":"https://api.github.com/users/richgeog","html_url":"https://github.com/richgeog","followers_url":"https://api.github.com/users/richgeog/followers","following_url":"https://api.github.com/users/richgeog/following{/other_user}","gists_url":"https://api.github.com/users/richgeog/gists{/gist_id}","starred_url":"https://api.github.com/users/richgeog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richgeog/subscriptions","organizations_url":"https://api.github.com/users/richgeog/orgs","repos_url":"https://api.github.com/users/richgeog/repos","events_url":"https://api.github.com/users/richgeog/events{/privacy}","received_events_url":"https://api.github.com/users/richgeog/received_events","type":"User","site_admin":false},"body":"Unable to get results and player name to appear. 1 error in cucumber failing too, unable to fix at this time.","created_at":"2015-08-09T22:20:08Z","updated_at":"2015-08-09T22:20:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e73b811b9863ebdbad9b7e227ca765b7e53b962d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122/commits","review_comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122/comments","review_comment_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/122/comments","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/e662cb766b60d3d3b63613d56f062e4bdfec3fc8","head":{"label":"richgeog:master","ref":"master","sha":"e662cb766b60d3d3b63613d56f062e4bdfec3fc8","user":{"login":"richgeog","id":11146599,"avatar_url":"https://avatars.githubusercontent.com/u/11146599?v=3","gravatar_id":"","url":"https://api.github.com/users/richgeog","html_url":"https://github.com/richgeog","followers_url":"https://api.github.com/users/richgeog/followers","following_url":"https://api.github.com/users/richgeog/following{/other_user}","gists_url":"https://api.github.com/users/richgeog/gists{/gist_id}","starred_url":"https://api.github.com/users/richgeog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richgeog/subscriptions","organizations_url":"https://api.github.com/users/richgeog/orgs","repos_url":"https://api.github.com/users/richgeog/repos","events_url":"https://api.github.com/users/richgeog/events{/privacy}","received_events_url":"https://api.github.com/users/richgeog/received_events","type":"User","site_admin":false},"repo":{"id":40370177,"name":"rps-challenge","full_name":"richgeog/rps-challenge","owner":{"login":"richgeog","id":11146599,"avatar_url":"https://avatars.githubusercontent.com/u/11146599?v=3","gravatar_id":"","url":"https://api.github.com/users/richgeog","html_url":"https://github.com/richgeog","followers_url":"https://api.github.com/users/richgeog/followers","following_url":"https://api.github.com/users/richgeog/following{/other_user}","gists_url":"https://api.github.com/users/richgeog/gists{/gist_id}","starred_url":"https://api.github.com/users/richgeog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richgeog/subscriptions","organizations_url":"https://api.github.com/users/richgeog/orgs","repos_url":"https://api.github.com/users/richgeog/repos","events_url":"https://api.github.com/users/richgeog/events{/privacy}","received_events_url":"https://api.github.com/users/richgeog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/richgeog/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":true,"url":"https://api.github.com/repos/richgeog/rps-challenge","forks_url":"https://api.github.com/repos/richgeog/rps-challenge/forks","keys_url":"https://api.github.com/repos/richgeog/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/richgeog/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/richgeog/rps-challenge/teams","hooks_url":"https://api.github.com/repos/richgeog/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/richgeog/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/richgeog/rps-challenge/events","assignees_url":"https://api.github.com/repos/richgeog/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/richgeog/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/richgeog/rps-challenge/tags","blobs_url":"https://api.github.com/repos/richgeog/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/richgeog/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/richgeog/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/richgeog/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/richgeog/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/richgeog/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/richgeog/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/richgeog/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/richgeog/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/richgeog/rps-challenge/subscription","commits_url":"https://api.github.com/repos/richgeog/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/richgeog/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/richgeog/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/richgeog/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/richgeog/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/richgeog/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/richgeog/rps-challenge/merges","archive_url":"https://api.github.com/repos/richgeog/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/richgeog/rps-challenge/downloads","issues_url":"https://api.github.com/repos/richgeog/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/richgeog/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/richgeog/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/richgeog/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/richgeog/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/richgeog/rps-challenge/releases{/id}","created_at":"2015-08-07T16:32:08Z","updated_at":"2015-08-07T16:32:08Z","pushed_at":"2015-08-09T22:17:53Z","git_url":"git://github.com/richgeog/rps-challenge.git","ssh_url":"git@github.com:richgeog/rps-challenge.git","clone_url":"https://github.com/richgeog/rps-challenge.git","svn_url":"https://github.com/richgeog/rps-challenge","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"59953a8672f5fdb2f74d149a875340446276117a","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27006066,"name":"rps-challenge","full_name":"makersacademy/rps-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":false,"url":"https://api.github.com/repos/makersacademy/rps-challenge","forks_url":"https://api.github.com/repos/makersacademy/rps-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/rps-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/rps-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/rps-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/rps-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/rps-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/rps-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/rps-challenge/releases{/id}","created_at":"2014-11-22T17:15:17Z","updated_at":"2015-04-02T19:30:46Z","pushed_at":"2015-08-09T22:20:08Z","git_url":"git://github.com/makersacademy/rps-challenge.git","ssh_url":"git@github.com:makersacademy/rps-challenge.git","clone_url":"https://github.com/makersacademy/rps-challenge.git","svn_url":"https://github.com/makersacademy/rps-challenge","homepage":null,"size":39058,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":133,"mirror_url":null,"open_issues_count":22,"forks":133,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/122"},"issue":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/122"},"comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/e662cb766b60d3d3b63613d56f062e4bdfec3fc8"}}}}