{"action":"created","comment":{"url":"https://api.github.com/repos/westernmilling/chancellor/pulls/comments/24869551","id":24869551,"diff_hunk":"@@ -0,0 +1,19 @@\n+require 'rails_helper'\n+\n+RSpec.describe EntitiesHelper, :type => :helper do\n+  describe \"#active_string\" do","path":"spec/helpers/entities_helpers_spec.rb","position":4,"original_position":4,"commit_id":"0d11b9386234913f75a3f6ccece7183901ff3e89","original_commit_id":"0d11b9386234913f75a3f6ccece7183901ff3e89","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 single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2015-02-18T00:30:23Z","updated_at":"2015-02-18T00:30:23Z","html_url":"https://github.com/westernmilling/chancellor/pull/57#discussion_r24869551","pull_request_url":"https://api.github.com/repos/westernmilling/chancellor/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/westernmilling/chancellor/pulls/comments/24869551"},"html":{"href":"https://github.com/westernmilling/chancellor/pull/57#discussion_r24869551"},"pull_request":{"href":"https://api.github.com/repos/westernmilling/chancellor/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/westernmilling/chancellor/pulls/57","id":29476727,"html_url":"https://github.com/westernmilling/chancellor/pull/57","diff_url":"https://github.com/westernmilling/chancellor/pull/57.diff","patch_url":"https://github.com/westernmilling/chancellor/pull/57.patch","issue_url":"https://api.github.com/repos/westernmilling/chancellor/issues/57","number":57,"state":"open","locked":false,"title":"Salesperson is_active flag.","user":{"login":"josephbridgwaterrowe","id":1495123,"avatar_url":"https://avatars.githubusercontent.com/u/1495123?v=3","gravatar_id":"","url":"https://api.github.com/users/josephbridgwaterrowe","html_url":"https://github.com/josephbridgwaterrowe","followers_url":"https://api.github.com/users/josephbridgwaterrowe/followers","following_url":"https://api.github.com/users/josephbridgwaterrowe/following{/other_user}","gists_url":"https://api.github.com/users/josephbridgwaterrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/josephbridgwaterrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephbridgwaterrowe/subscriptions","organizations_url":"https://api.github.com/users/josephbridgwaterrowe/orgs","repos_url":"https://api.github.com/users/josephbridgwaterrowe/repos","events_url":"https://api.github.com/users/josephbridgwaterrowe/events{/privacy}","received_events_url":"https://api.github.com/users/josephbridgwaterrowe/received_events","type":"User","site_admin":false},"body":"Control salesperson active state with is_active flag rather than soft delete.\r\nReplace Salesperson PrimaryLocation with a belongs_to Location.\r\n - Closes #46 and #54.","created_at":"2015-02-17T20:56:10Z","updated_at":"2015-02-18T00:30:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dae940ea1c8188946af33c1eac2d12517c444efc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/westernmilling/chancellor/pulls/57/commits","review_comments_url":"https://api.github.com/repos/westernmilling/chancellor/pulls/57/comments","review_comment_url":"https://api.github.com/repos/westernmilling/chancellor/pulls/comments/{number}","comments_url":"https://api.github.com/repos/westernmilling/chancellor/issues/57/comments","statuses_url":"https://api.github.com/repos/westernmilling/chancellor/statuses/0d11b9386234913f75a3f6ccece7183901ff3e89","head":{"label":"westernmilling:salesperson-active-flag","ref":"salesperson-active-flag","sha":"0d11b9386234913f75a3f6ccece7183901ff3e89","user":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"repo":{"id":27143196,"name":"chancellor","full_name":"westernmilling/chancellor","owner":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/westernmilling/chancellor","description":"A lightweight Account Entity management app.","fork":false,"url":"https://api.github.com/repos/westernmilling/chancellor","forks_url":"https://api.github.com/repos/westernmilling/chancellor/forks","keys_url":"https://api.github.com/repos/westernmilling/chancellor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/westernmilling/chancellor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/westernmilling/chancellor/teams","hooks_url":"https://api.github.com/repos/westernmilling/chancellor/hooks","issue_events_url":"https://api.github.com/repos/westernmilling/chancellor/issues/events{/number}","events_url":"https://api.github.com/repos/westernmilling/chancellor/events","assignees_url":"https://api.github.com/repos/westernmilling/chancellor/assignees{/user}","branches_url":"https://api.github.com/repos/westernmilling/chancellor/branches{/branch}","tags_url":"https://api.github.com/repos/westernmilling/chancellor/tags","blobs_url":"https://api.github.com/repos/westernmilling/chancellor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/westernmilling/chancellor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/westernmilling/chancellor/git/refs{/sha}","trees_url":"https://api.github.com/repos/westernmilling/chancellor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/westernmilling/chancellor/statuses/{sha}","languages_url":"https://api.github.com/repos/westernmilling/chancellor/languages","stargazers_url":"https://api.github.com/repos/westernmilling/chancellor/stargazers","contributors_url":"https://api.github.com/repos/westernmilling/chancellor/contributors","subscribers_url":"https://api.github.com/repos/westernmilling/chancellor/subscribers","subscription_url":"https://api.github.com/repos/westernmilling/chancellor/subscription","commits_url":"https://api.github.com/repos/westernmilling/chancellor/commits{/sha}","git_commits_url":"https://api.github.com/repos/westernmilling/chancellor/git/commits{/sha}","comments_url":"https://api.github.com/repos/westernmilling/chancellor/comments{/number}","issue_comment_url":"https://api.github.com/repos/westernmilling/chancellor/issues/comments/{number}","contents_url":"https://api.github.com/repos/westernmilling/chancellor/contents/{+path}","compare_url":"https://api.github.com/repos/westernmilling/chancellor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/westernmilling/chancellor/merges","archive_url":"https://api.github.com/repos/westernmilling/chancellor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/westernmilling/chancellor/downloads","issues_url":"https://api.github.com/repos/westernmilling/chancellor/issues{/number}","pulls_url":"https://api.github.com/repos/westernmilling/chancellor/pulls{/number}","milestones_url":"https://api.github.com/repos/westernmilling/chancellor/milestones{/number}","notifications_url":"https://api.github.com/repos/westernmilling/chancellor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/westernmilling/chancellor/labels{/name}","releases_url":"https://api.github.com/repos/westernmilling/chancellor/releases{/id}","created_at":"2014-11-25T19:51:24Z","updated_at":"2015-02-17T01:03:10Z","pushed_at":"2015-02-18T00:30:15Z","git_url":"git://github.com/westernmilling/chancellor.git","ssh_url":"git@github.com:westernmilling/chancellor.git","clone_url":"https://github.com/westernmilling/chancellor.git","svn_url":"https://github.com/westernmilling/chancellor","homepage":null,"size":5189,"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":20,"forks":0,"open_issues":20,"watchers":0,"default_branch":"master"}},"base":{"label":"westernmilling:master","ref":"master","sha":"0dd2061cce7fe30134036c1a4c60495751632cc8","user":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"repo":{"id":27143196,"name":"chancellor","full_name":"westernmilling/chancellor","owner":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/westernmilling/chancellor","description":"A lightweight Account Entity management app.","fork":false,"url":"https://api.github.com/repos/westernmilling/chancellor","forks_url":"https://api.github.com/repos/westernmilling/chancellor/forks","keys_url":"https://api.github.com/repos/westernmilling/chancellor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/westernmilling/chancellor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/westernmilling/chancellor/teams","hooks_url":"https://api.github.com/repos/westernmilling/chancellor/hooks","issue_events_url":"https://api.github.com/repos/westernmilling/chancellor/issues/events{/number}","events_url":"https://api.github.com/repos/westernmilling/chancellor/events","assignees_url":"https://api.github.com/repos/westernmilling/chancellor/assignees{/user}","branches_url":"https://api.github.com/repos/westernmilling/chancellor/branches{/branch}","tags_url":"https://api.github.com/repos/westernmilling/chancellor/tags","blobs_url":"https://api.github.com/repos/westernmilling/chancellor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/westernmilling/chancellor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/westernmilling/chancellor/git/refs{/sha}","trees_url":"https://api.github.com/repos/westernmilling/chancellor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/westernmilling/chancellor/statuses/{sha}","languages_url":"https://api.github.com/repos/westernmilling/chancellor/languages","stargazers_url":"https://api.github.com/repos/westernmilling/chancellor/stargazers","contributors_url":"https://api.github.com/repos/westernmilling/chancellor/contributors","subscribers_url":"https://api.github.com/repos/westernmilling/chancellor/subscribers","subscription_url":"https://api.github.com/repos/westernmilling/chancellor/subscription","commits_url":"https://api.github.com/repos/westernmilling/chancellor/commits{/sha}","git_commits_url":"https://api.github.com/repos/westernmilling/chancellor/git/commits{/sha}","comments_url":"https://api.github.com/repos/westernmilling/chancellor/comments{/number}","issue_comment_url":"https://api.github.com/repos/westernmilling/chancellor/issues/comments/{number}","contents_url":"https://api.github.com/repos/westernmilling/chancellor/contents/{+path}","compare_url":"https://api.github.com/repos/westernmilling/chancellor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/westernmilling/chancellor/merges","archive_url":"https://api.github.com/repos/westernmilling/chancellor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/westernmilling/chancellor/downloads","issues_url":"https://api.github.com/repos/westernmilling/chancellor/issues{/number}","pulls_url":"https://api.github.com/repos/westernmilling/chancellor/pulls{/number}","milestones_url":"https://api.github.com/repos/westernmilling/chancellor/milestones{/number}","notifications_url":"https://api.github.com/repos/westernmilling/chancellor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/westernmilling/chancellor/labels{/name}","releases_url":"https://api.github.com/repos/westernmilling/chancellor/releases{/id}","created_at":"2014-11-25T19:51:24Z","updated_at":"2015-02-17T01:03:10Z","pushed_at":"2015-02-18T00:30:15Z","git_url":"git://github.com/westernmilling/chancellor.git","ssh_url":"git@github.com:westernmilling/chancellor.git","clone_url":"https://github.com/westernmilling/chancellor.git","svn_url":"https://github.com/westernmilling/chancellor","homepage":null,"size":5189,"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":20,"forks":0,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/westernmilling/chancellor/pulls/57"},"html":{"href":"https://github.com/westernmilling/chancellor/pull/57"},"issue":{"href":"https://api.github.com/repos/westernmilling/chancellor/issues/57"},"comments":{"href":"https://api.github.com/repos/westernmilling/chancellor/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/westernmilling/chancellor/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/westernmilling/chancellor/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/westernmilling/chancellor/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/westernmilling/chancellor/statuses/0d11b9386234913f75a3f6ccece7183901ff3e89"}}}}