{"action":"created","comment":{"url":"https://api.github.com/repos/mathie/happy_sad/pulls/comments/26554659","id":26554659,"diff_hunk":"@@ -0,0 +1,58 @@\n+# IMPORTANT: This file is generated by cucumber-rails - 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-rails. 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 'cucumber/rails'\n+\n+# Capybara defaults to CSS3 selectors rather than XPath.\n+# If you'd prefer to use XPath, just uncomment this line and adjust any\n+# selectors in your step definitions to use the XPath syntax.\n+# Capybara.default_selector = :xpath\n+\n+# By default, any exception happening in your Rails application will bubble up\n+# to Cucumber so that your scenario will fail. This is a different from how\n+# your application behaves in the production environment, where an error page will\n+# be rendered instead.\n+#\n+# Sometimes we want to override this default behaviour and allow Rails to rescue\n+# exceptions and display an error page (just like when the app is running in production).\n+# Typical scenarios where you want to do this is when you test your error pages.\n+# There are two ways to allow Rails to rescue exceptions:\n+#\n+# 1) Tag your scenario (or feature) with @allow-rescue\n+#\n+# 2) Set the value below to true. Beware that doing this globally is not\n+# recommended as it will mask a lot of errors for you!\n+#\n+ActionController::Base.allow_rescue = false\n+\n+# Remove/comment out the lines below if your app doesn't have a database.\n+# For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.","path":"features/support/env.rb","position":32,"original_position":32,"commit_id":"3b1e65f9335f1034cf268dd9b911b084836be7d0","original_commit_id":"3b1e65f9335f1034cf268dd9b911b084836be7d0","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. [88/80]","created_at":"2015-03-17T07:58:04Z","updated_at":"2015-03-17T07:58:04Z","html_url":"https://github.com/mathie/happy_sad/pull/6#discussion_r26554659","pull_request_url":"https://api.github.com/repos/mathie/happy_sad/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/mathie/happy_sad/pulls/comments/26554659"},"html":{"href":"https://github.com/mathie/happy_sad/pull/6#discussion_r26554659"},"pull_request":{"href":"https://api.github.com/repos/mathie/happy_sad/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/mathie/happy_sad/pulls/6","id":16328547,"html_url":"https://github.com/mathie/happy_sad/pull/6","diff_url":"https://github.com/mathie/happy_sad/pull/6.diff","patch_url":"https://github.com/mathie/happy_sad/pull/6.patch","issue_url":"https://api.github.com/repos/mathie/happy_sad/issues/6","number":6,"state":"open","locked":false,"title":"Integrate Cucumber support.","user":{"login":"mathie","id":438,"avatar_url":"https://avatars.githubusercontent.com/u/438?v=3","gravatar_id":"","url":"https://api.github.com/users/mathie","html_url":"https://github.com/mathie","followers_url":"https://api.github.com/users/mathie/followers","following_url":"https://api.github.com/users/mathie/following{/other_user}","gists_url":"https://api.github.com/users/mathie/gists{/gist_id}","starred_url":"https://api.github.com/users/mathie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathie/subscriptions","organizations_url":"https://api.github.com/users/mathie/orgs","repos_url":"https://api.github.com/users/mathie/repos","events_url":"https://api.github.com/users/mathie/events{/privacy}","received_events_url":"https://api.github.com/users/mathie/received_events","type":"User","site_admin":false},"body":"In order to turn the fluffy requirements I have in my head into executable\nspecifications, I will be attempting to use Cucumber. This particular story is\nto get cucumber integrated -- including automatically running the features with\nguard, and, on push, with Travis CI. It should be able to test that the home\npage is displaying some marketing blurb.\n\nStill a work in progress -- just pushing up the initial pull request to mark\nthat it's actually in progress.","created_at":"2014-05-26T09:26:52Z","updated_at":"2015-03-17T07:58:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"270b820522c0f68ff0887763dd5db5406a71eb83","assignee":{"login":"mathie","id":438,"avatar_url":"https://avatars.githubusercontent.com/u/438?v=3","gravatar_id":"","url":"https://api.github.com/users/mathie","html_url":"https://github.com/mathie","followers_url":"https://api.github.com/users/mathie/followers","following_url":"https://api.github.com/users/mathie/following{/other_user}","gists_url":"https://api.github.com/users/mathie/gists{/gist_id}","starred_url":"https://api.github.com/users/mathie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathie/subscriptions","organizations_url":"https://api.github.com/users/mathie/orgs","repos_url":"https://api.github.com/users/mathie/repos","events_url":"https://api.github.com/users/mathie/events{/privacy}","received_events_url":"https://api.github.com/users/mathie/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mathie/happy_sad/milestones/1","html_url":"https://github.com/mathie/happy_sad/milestones/Iteration%200:%20Project%20Setup","labels_url":"https://api.github.com/repos/mathie/happy_sad/milestones/1/labels","id":651465,"number":1,"title":"Iteration 0: Project Setup","description":null,"creator":{"login":"mathie","id":438,"avatar_url":"https://avatars.githubusercontent.com/u/438?v=3","gravatar_id":"","url":"https://api.github.com/users/mathie","html_url":"https://github.com/mathie","followers_url":"https://api.github.com/users/mathie/followers","following_url":"https://api.github.com/users/mathie/following{/other_user}","gists_url":"https://api.github.com/users/mathie/gists{/gist_id}","starred_url":"https://api.github.com/users/mathie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathie/subscriptions","organizations_url":"https://api.github.com/users/mathie/orgs","repos_url":"https://api.github.com/users/mathie/repos","events_url":"https://api.github.com/users/mathie/events{/privacy}","received_events_url":"https://api.github.com/users/mathie/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2014-05-07T09:48:16Z","updated_at":"2014-05-26T09:27:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/mathie/happy_sad/pulls/6/commits","review_comments_url":"https://api.github.com/repos/mathie/happy_sad/pulls/6/comments","review_comment_url":"https://api.github.com/repos/mathie/happy_sad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mathie/happy_sad/issues/6/comments","statuses_url":"https://api.github.com/repos/mathie/happy_sad/statuses/3b1e65f9335f1034cf268dd9b911b084836be7d0","head":{"label":"mathie:integrate-cucumber-support","ref":"integrate-cucumber-support","sha":"3b1e65f9335f1034cf268dd9b911b084836be7d0","user":{"login":"mathie","id":438,"avatar_url":"https://avatars.githubusercontent.com/u/438?v=3","gravatar_id":"","url":"https://api.github.com/users/mathie","html_url":"https://github.com/mathie","followers_url":"https://api.github.com/users/mathie/followers","following_url":"https://api.github.com/users/mathie/following{/other_user}","gists_url":"https://api.github.com/users/mathie/gists{/gist_id}","starred_url":"https://api.github.com/users/mathie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathie/subscriptions","organizations_url":"https://api.github.com/users/mathie/orgs","repos_url":"https://api.github.com/users/mathie/repos","events_url":"https://api.github.com/users/mathie/events{/privacy}","received_events_url":"https://api.github.com/users/mathie/received_events","type":"User","site_admin":false},"repo":{"id":19527823,"name":"happy_sad","full_name":"mathie/happy_sad","owner":{"login":"mathie","id":438,"avatar_url":"https://avatars.githubusercontent.com/u/438?v=3","gravatar_id":"","url":"https://api.github.com/users/mathie","html_url":"https://github.com/mathie","followers_url":"https://api.github.com/users/mathie/followers","following_url":"https://api.github.com/users/mathie/following{/other_user}","gists_url":"https://api.github.com/users/mathie/gists{/gist_id}","starred_url":"https://api.github.com/users/mathie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathie/subscriptions","organizations_url":"https://api.github.com/users/mathie/orgs","repos_url":"https://api.github.com/users/mathie/repos","events_url":"https://api.github.com/users/mathie/events{/privacy}","received_events_url":"https://api.github.com/users/mathie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mathie/happy_sad","description":"Happy/Sad: Right now, on a scale of 1 to 10, how happy are you?","fork":false,"url":"https://api.github.com/repos/mathie/happy_sad","forks_url":"https://api.github.com/repos/mathie/happy_sad/forks","keys_url":"https://api.github.com/repos/mathie/happy_sad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathie/happy_sad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathie/happy_sad/teams","hooks_url":"https://api.github.com/repos/mathie/happy_sad/hooks","issue_events_url":"https://api.github.com/repos/mathie/happy_sad/issues/events{/number}","events_url":"https://api.github.com/repos/mathie/happy_sad/events","assignees_url":"https://api.github.com/repos/mathie/happy_sad/assignees{/user}","branches_url":"https://api.github.com/repos/mathie/happy_sad/branches{/branch}","tags_url":"https://api.github.com/repos/mathie/happy_sad/tags","blobs_url":"https://api.github.com/repos/mathie/happy_sad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathie/happy_sad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathie/happy_sad/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathie/happy_sad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathie/happy_sad/statuses/{sha}","languages_url":"https://api.github.com/repos/mathie/happy_sad/languages","stargazers_url":"https://api.github.com/repos/mathie/happy_sad/stargazers","contributors_url":"https://api.github.com/repos/mathie/happy_sad/contributors","subscribers_url":"https://api.github.com/repos/mathie/happy_sad/subscribers","subscription_url":"https://api.github.com/repos/mathie/happy_sad/subscription","commits_url":"https://api.github.com/repos/mathie/happy_sad/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathie/happy_sad/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathie/happy_sad/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathie/happy_sad/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathie/happy_sad/contents/{+path}","compare_url":"https://api.github.com/repos/mathie/happy_sad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathie/happy_sad/merges","archive_url":"https://api.github.com/repos/mathie/happy_sad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathie/happy_sad/downloads","issues_url":"https://api.github.com/repos/mathie/happy_sad/issues{/number}","pulls_url":"https://api.github.com/repos/mathie/happy_sad/pulls{/number}","milestones_url":"https://api.github.com/repos/mathie/happy_sad/milestones{/number}","notifications_url":"https://api.github.com/repos/mathie/happy_sad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathie/happy_sad/labels{/name}","releases_url":"https://api.github.com/repos/mathie/happy_sad/releases{/id}","created_at":"2014-05-07T09:00:52Z","updated_at":"2014-07-19T13:05:49Z","pushed_at":"2015-03-17T07:58:00Z","git_url":"git://github.com/mathie/happy_sad.git","ssh_url":"git@github.com:mathie/happy_sad.git","clone_url":"https://github.com/mathie/happy_sad.git","svn_url":"https://github.com/mathie/happy_sad","homepage":"http://happysadapp.com/","size":420,"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":"mathie:master","ref":"master","sha":"e19ca4dd26a4232262e189848888e6584bdf021e","user":{"login":"mathie","id":438,"avatar_url":"https://avatars.githubusercontent.com/u/438?v=3","gravatar_id":"","url":"https://api.github.com/users/mathie","html_url":"https://github.com/mathie","followers_url":"https://api.github.com/users/mathie/followers","following_url":"https://api.github.com/users/mathie/following{/other_user}","gists_url":"https://api.github.com/users/mathie/gists{/gist_id}","starred_url":"https://api.github.com/users/mathie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathie/subscriptions","organizations_url":"https://api.github.com/users/mathie/orgs","repos_url":"https://api.github.com/users/mathie/repos","events_url":"https://api.github.com/users/mathie/events{/privacy}","received_events_url":"https://api.github.com/users/mathie/received_events","type":"User","site_admin":false},"repo":{"id":19527823,"name":"happy_sad","full_name":"mathie/happy_sad","owner":{"login":"mathie","id":438,"avatar_url":"https://avatars.githubusercontent.com/u/438?v=3","gravatar_id":"","url":"https://api.github.com/users/mathie","html_url":"https://github.com/mathie","followers_url":"https://api.github.com/users/mathie/followers","following_url":"https://api.github.com/users/mathie/following{/other_user}","gists_url":"https://api.github.com/users/mathie/gists{/gist_id}","starred_url":"https://api.github.com/users/mathie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathie/subscriptions","organizations_url":"https://api.github.com/users/mathie/orgs","repos_url":"https://api.github.com/users/mathie/repos","events_url":"https://api.github.com/users/mathie/events{/privacy}","received_events_url":"https://api.github.com/users/mathie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mathie/happy_sad","description":"Happy/Sad: Right now, on a scale of 1 to 10, how happy are you?","fork":false,"url":"https://api.github.com/repos/mathie/happy_sad","forks_url":"https://api.github.com/repos/mathie/happy_sad/forks","keys_url":"https://api.github.com/repos/mathie/happy_sad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathie/happy_sad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathie/happy_sad/teams","hooks_url":"https://api.github.com/repos/mathie/happy_sad/hooks","issue_events_url":"https://api.github.com/repos/mathie/happy_sad/issues/events{/number}","events_url":"https://api.github.com/repos/mathie/happy_sad/events","assignees_url":"https://api.github.com/repos/mathie/happy_sad/assignees{/user}","branches_url":"https://api.github.com/repos/mathie/happy_sad/branches{/branch}","tags_url":"https://api.github.com/repos/mathie/happy_sad/tags","blobs_url":"https://api.github.com/repos/mathie/happy_sad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathie/happy_sad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathie/happy_sad/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathie/happy_sad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathie/happy_sad/statuses/{sha}","languages_url":"https://api.github.com/repos/mathie/happy_sad/languages","stargazers_url":"https://api.github.com/repos/mathie/happy_sad/stargazers","contributors_url":"https://api.github.com/repos/mathie/happy_sad/contributors","subscribers_url":"https://api.github.com/repos/mathie/happy_sad/subscribers","subscription_url":"https://api.github.com/repos/mathie/happy_sad/subscription","commits_url":"https://api.github.com/repos/mathie/happy_sad/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathie/happy_sad/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathie/happy_sad/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathie/happy_sad/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathie/happy_sad/contents/{+path}","compare_url":"https://api.github.com/repos/mathie/happy_sad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathie/happy_sad/merges","archive_url":"https://api.github.com/repos/mathie/happy_sad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathie/happy_sad/downloads","issues_url":"https://api.github.com/repos/mathie/happy_sad/issues{/number}","pulls_url":"https://api.github.com/repos/mathie/happy_sad/pulls{/number}","milestones_url":"https://api.github.com/repos/mathie/happy_sad/milestones{/number}","notifications_url":"https://api.github.com/repos/mathie/happy_sad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathie/happy_sad/labels{/name}","releases_url":"https://api.github.com/repos/mathie/happy_sad/releases{/id}","created_at":"2014-05-07T09:00:52Z","updated_at":"2014-07-19T13:05:49Z","pushed_at":"2015-03-17T07:58:00Z","git_url":"git://github.com/mathie/happy_sad.git","ssh_url":"git@github.com:mathie/happy_sad.git","clone_url":"https://github.com/mathie/happy_sad.git","svn_url":"https://github.com/mathie/happy_sad","homepage":"http://happysadapp.com/","size":420,"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/mathie/happy_sad/pulls/6"},"html":{"href":"https://github.com/mathie/happy_sad/pull/6"},"issue":{"href":"https://api.github.com/repos/mathie/happy_sad/issues/6"},"comments":{"href":"https://api.github.com/repos/mathie/happy_sad/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/mathie/happy_sad/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/mathie/happy_sad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mathie/happy_sad/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/mathie/happy_sad/statuses/3b1e65f9335f1034cf268dd9b911b084836be7d0"}}}}