{"action":"opened","number":174,"pull_request":{"url":"https://api.github.com/repos/purinkle/radfords/pulls/174","id":40914596,"html_url":"https://github.com/purinkle/radfords/pull/174","diff_url":"https://github.com/purinkle/radfords/pull/174.diff","patch_url":"https://github.com/purinkle/radfords/pull/174.patch","issue_url":"https://api.github.com/repos/purinkle/radfords/issues/174","number":174,"state":"open","locked":false,"title":"Generate rails_helper, not spec_helper","user":{"login":"purinkle","id":185321,"avatar_url":"https://avatars.githubusercontent.com/u/185321?v=3","gravatar_id":"","url":"https://api.github.com/users/purinkle","html_url":"https://github.com/purinkle","followers_url":"https://api.github.com/users/purinkle/followers","following_url":"https://api.github.com/users/purinkle/following{/other_user}","gists_url":"https://api.github.com/users/purinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/purinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purinkle/subscriptions","organizations_url":"https://api.github.com/users/purinkle/orgs","repos_url":"https://api.github.com/users/purinkle/repos","events_url":"https://api.github.com/users/purinkle/events{/privacy}","received_events_url":"https://api.github.com/users/purinkle/received_events","type":"User","site_admin":false},"body":"RSpec 3.x introduces a `spec/rails_helper.rb` file which contains all dependencies necessary to run specs that need Rails.\n\nhttps://www.relishapp.com/rspec/rspec-rails/docs/upgrade#default-helper-files\n\nAchieves the goal of \"Documenting Explicit Dependencies Through Tests\":\n\nhttp://robots.thoughtbot.com/document-explicit-dependencies-through-tests\n\n* Move Rails-specific things to rails_helper.rb.\n* Require spec_helper.rb from rails_helper.rb.\n* Remove duplication across files.\n* We do not need to require \"spec_helper\" manually.\n  It is required for us in `.rspec`:\n\n    --color\n    --warnings\n    --require spec_helper\n\nhttps://trello.com/c/ruo0X8u3\n\n![](http://www.reactiongifs.com/r/ild.gif)","created_at":"2015-07-27T15:20:00Z","updated_at":"2015-07-27T15:20:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c911a6e8a6e1a6850b288f1cde51f6aa7ac74277","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/purinkle/radfords/pulls/174/commits","review_comments_url":"https://api.github.com/repos/purinkle/radfords/pulls/174/comments","review_comment_url":"https://api.github.com/repos/purinkle/radfords/pulls/comments{/number}","comments_url":"https://api.github.com/repos/purinkle/radfords/issues/174/comments","statuses_url":"https://api.github.com/repos/purinkle/radfords/statuses/9c36946ab4ebf68f36aa06034a13609c5a4fa792","head":{"label":"purinkle:rw-rails-helper","ref":"rw-rails-helper","sha":"9c36946ab4ebf68f36aa06034a13609c5a4fa792","user":{"login":"purinkle","id":185321,"avatar_url":"https://avatars.githubusercontent.com/u/185321?v=3","gravatar_id":"","url":"https://api.github.com/users/purinkle","html_url":"https://github.com/purinkle","followers_url":"https://api.github.com/users/purinkle/followers","following_url":"https://api.github.com/users/purinkle/following{/other_user}","gists_url":"https://api.github.com/users/purinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/purinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purinkle/subscriptions","organizations_url":"https://api.github.com/users/purinkle/orgs","repos_url":"https://api.github.com/users/purinkle/repos","events_url":"https://api.github.com/users/purinkle/events{/privacy}","received_events_url":"https://api.github.com/users/purinkle/received_events","type":"User","site_admin":false},"repo":{"id":2278445,"name":"radfords","full_name":"purinkle/radfords","owner":{"login":"purinkle","id":185321,"avatar_url":"https://avatars.githubusercontent.com/u/185321?v=3","gravatar_id":"","url":"https://api.github.com/users/purinkle","html_url":"https://github.com/purinkle","followers_url":"https://api.github.com/users/purinkle/followers","following_url":"https://api.github.com/users/purinkle/following{/other_user}","gists_url":"https://api.github.com/users/purinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/purinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purinkle/subscriptions","organizations_url":"https://api.github.com/users/purinkle/orgs","repos_url":"https://api.github.com/users/purinkle/repos","events_url":"https://api.github.com/users/purinkle/events{/privacy}","received_events_url":"https://api.github.com/users/purinkle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/purinkle/radfords","description":"","fork":false,"url":"https://api.github.com/repos/purinkle/radfords","forks_url":"https://api.github.com/repos/purinkle/radfords/forks","keys_url":"https://api.github.com/repos/purinkle/radfords/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purinkle/radfords/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purinkle/radfords/teams","hooks_url":"https://api.github.com/repos/purinkle/radfords/hooks","issue_events_url":"https://api.github.com/repos/purinkle/radfords/issues/events{/number}","events_url":"https://api.github.com/repos/purinkle/radfords/events","assignees_url":"https://api.github.com/repos/purinkle/radfords/assignees{/user}","branches_url":"https://api.github.com/repos/purinkle/radfords/branches{/branch}","tags_url":"https://api.github.com/repos/purinkle/radfords/tags","blobs_url":"https://api.github.com/repos/purinkle/radfords/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purinkle/radfords/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purinkle/radfords/git/refs{/sha}","trees_url":"https://api.github.com/repos/purinkle/radfords/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purinkle/radfords/statuses/{sha}","languages_url":"https://api.github.com/repos/purinkle/radfords/languages","stargazers_url":"https://api.github.com/repos/purinkle/radfords/stargazers","contributors_url":"https://api.github.com/repos/purinkle/radfords/contributors","subscribers_url":"https://api.github.com/repos/purinkle/radfords/subscribers","subscription_url":"https://api.github.com/repos/purinkle/radfords/subscription","commits_url":"https://api.github.com/repos/purinkle/radfords/commits{/sha}","git_commits_url":"https://api.github.com/repos/purinkle/radfords/git/commits{/sha}","comments_url":"https://api.github.com/repos/purinkle/radfords/comments{/number}","issue_comment_url":"https://api.github.com/repos/purinkle/radfords/issues/comments{/number}","contents_url":"https://api.github.com/repos/purinkle/radfords/contents/{+path}","compare_url":"https://api.github.com/repos/purinkle/radfords/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purinkle/radfords/merges","archive_url":"https://api.github.com/repos/purinkle/radfords/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purinkle/radfords/downloads","issues_url":"https://api.github.com/repos/purinkle/radfords/issues{/number}","pulls_url":"https://api.github.com/repos/purinkle/radfords/pulls{/number}","milestones_url":"https://api.github.com/repos/purinkle/radfords/milestones{/number}","notifications_url":"https://api.github.com/repos/purinkle/radfords/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purinkle/radfords/labels{/name}","releases_url":"https://api.github.com/repos/purinkle/radfords/releases{/id}","created_at":"2011-08-27T07:52:27Z","updated_at":"2015-07-08T15:46:48Z","pushed_at":"2015-07-27T15:20:00Z","git_url":"git://github.com/purinkle/radfords.git","ssh_url":"git@github.com:purinkle/radfords.git","clone_url":"https://github.com/purinkle/radfords.git","svn_url":"https://github.com/purinkle/radfords","homepage":"","size":4431,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"purinkle:master","ref":"master","sha":"9ec0cb8670b281cde69a1d57d2ad23c67cad1edb","user":{"login":"purinkle","id":185321,"avatar_url":"https://avatars.githubusercontent.com/u/185321?v=3","gravatar_id":"","url":"https://api.github.com/users/purinkle","html_url":"https://github.com/purinkle","followers_url":"https://api.github.com/users/purinkle/followers","following_url":"https://api.github.com/users/purinkle/following{/other_user}","gists_url":"https://api.github.com/users/purinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/purinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purinkle/subscriptions","organizations_url":"https://api.github.com/users/purinkle/orgs","repos_url":"https://api.github.com/users/purinkle/repos","events_url":"https://api.github.com/users/purinkle/events{/privacy}","received_events_url":"https://api.github.com/users/purinkle/received_events","type":"User","site_admin":false},"repo":{"id":2278445,"name":"radfords","full_name":"purinkle/radfords","owner":{"login":"purinkle","id":185321,"avatar_url":"https://avatars.githubusercontent.com/u/185321?v=3","gravatar_id":"","url":"https://api.github.com/users/purinkle","html_url":"https://github.com/purinkle","followers_url":"https://api.github.com/users/purinkle/followers","following_url":"https://api.github.com/users/purinkle/following{/other_user}","gists_url":"https://api.github.com/users/purinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/purinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purinkle/subscriptions","organizations_url":"https://api.github.com/users/purinkle/orgs","repos_url":"https://api.github.com/users/purinkle/repos","events_url":"https://api.github.com/users/purinkle/events{/privacy}","received_events_url":"https://api.github.com/users/purinkle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/purinkle/radfords","description":"","fork":false,"url":"https://api.github.com/repos/purinkle/radfords","forks_url":"https://api.github.com/repos/purinkle/radfords/forks","keys_url":"https://api.github.com/repos/purinkle/radfords/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purinkle/radfords/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purinkle/radfords/teams","hooks_url":"https://api.github.com/repos/purinkle/radfords/hooks","issue_events_url":"https://api.github.com/repos/purinkle/radfords/issues/events{/number}","events_url":"https://api.github.com/repos/purinkle/radfords/events","assignees_url":"https://api.github.com/repos/purinkle/radfords/assignees{/user}","branches_url":"https://api.github.com/repos/purinkle/radfords/branches{/branch}","tags_url":"https://api.github.com/repos/purinkle/radfords/tags","blobs_url":"https://api.github.com/repos/purinkle/radfords/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purinkle/radfords/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purinkle/radfords/git/refs{/sha}","trees_url":"https://api.github.com/repos/purinkle/radfords/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purinkle/radfords/statuses/{sha}","languages_url":"https://api.github.com/repos/purinkle/radfords/languages","stargazers_url":"https://api.github.com/repos/purinkle/radfords/stargazers","contributors_url":"https://api.github.com/repos/purinkle/radfords/contributors","subscribers_url":"https://api.github.com/repos/purinkle/radfords/subscribers","subscription_url":"https://api.github.com/repos/purinkle/radfords/subscription","commits_url":"https://api.github.com/repos/purinkle/radfords/commits{/sha}","git_commits_url":"https://api.github.com/repos/purinkle/radfords/git/commits{/sha}","comments_url":"https://api.github.com/repos/purinkle/radfords/comments{/number}","issue_comment_url":"https://api.github.com/repos/purinkle/radfords/issues/comments{/number}","contents_url":"https://api.github.com/repos/purinkle/radfords/contents/{+path}","compare_url":"https://api.github.com/repos/purinkle/radfords/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purinkle/radfords/merges","archive_url":"https://api.github.com/repos/purinkle/radfords/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purinkle/radfords/downloads","issues_url":"https://api.github.com/repos/purinkle/radfords/issues{/number}","pulls_url":"https://api.github.com/repos/purinkle/radfords/pulls{/number}","milestones_url":"https://api.github.com/repos/purinkle/radfords/milestones{/number}","notifications_url":"https://api.github.com/repos/purinkle/radfords/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purinkle/radfords/labels{/name}","releases_url":"https://api.github.com/repos/purinkle/radfords/releases{/id}","created_at":"2011-08-27T07:52:27Z","updated_at":"2015-07-08T15:46:48Z","pushed_at":"2015-07-27T15:20:00Z","git_url":"git://github.com/purinkle/radfords.git","ssh_url":"git@github.com:purinkle/radfords.git","clone_url":"https://github.com/purinkle/radfords.git","svn_url":"https://github.com/purinkle/radfords","homepage":"","size":4431,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/purinkle/radfords/pulls/174"},"html":{"href":"https://github.com/purinkle/radfords/pull/174"},"issue":{"href":"https://api.github.com/repos/purinkle/radfords/issues/174"},"comments":{"href":"https://api.github.com/repos/purinkle/radfords/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/purinkle/radfords/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/purinkle/radfords/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/purinkle/radfords/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/purinkle/radfords/statuses/9c36946ab4ebf68f36aa06034a13609c5a4fa792"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":109,"deletions":58,"changed_files":36}}