{"action":"created","comment":{"url":"https://api.github.com/repos/FranchMate/franch_mate/pulls/comments/44603190","id":44603190,"diff_hunk":"@@ -0,0 +1,33 @@\n+RSpec.shared_examples \"with add more button\" do\n+  it \"include add more button\" do\n+    assert_select \".add_hash_pair\", 1\n+  end\n+end\n+\n+RSpec.shared_examples \"errors block\" do\n+  it \"include certain number of errors\" do\n+    assert_select \".help-block\", count + 1\n+  end\n+end\n+\n+RSpec.shared_examples \"include hash elements\" do\n+  it \"include certain number of hash elements with certain number of inputs(key, value for each)\" do\n+    assert_select hash_element_class, elements_count + 1 do |hash_element|\n+      hash_element.each do |element|\n+        assert_select element, \"input\", 2\n+        assert_select element, \".remove_hash_pair\", 1\n+      end\n+    end\n+  end\n+end\n+\n+RSpec.shared_examples \"include sample element\" do\n+  it \"include certain number of hash elements with certain number of inputs(key, value for each)\" do","path":"spec/inputs/support/hash_input_support.rb","position":25,"original_position":25,"commit_id":"42326c50aa7cbe16fc6e0b8c9ffb0c93fc33c469","original_commit_id":"42326c50aa7cbe16fc6e0b8c9ffb0c93fc33c469","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. [100/80]","created_at":"2015-11-11T23:33:49Z","updated_at":"2015-11-11T23:33:49Z","html_url":"https://github.com/FranchMate/franch_mate/pull/1#discussion_r44603190","pull_request_url":"https://api.github.com/repos/FranchMate/franch_mate/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/FranchMate/franch_mate/pulls/comments/44603190"},"html":{"href":"https://github.com/FranchMate/franch_mate/pull/1#discussion_r44603190"},"pull_request":{"href":"https://api.github.com/repos/FranchMate/franch_mate/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/FranchMate/franch_mate/pulls/1","id":50449569,"html_url":"https://github.com/FranchMate/franch_mate/pull/1","diff_url":"https://github.com/FranchMate/franch_mate/pull/1.diff","patch_url":"https://github.com/FranchMate/franch_mate/pull/1.patch","issue_url":"https://api.github.com/repos/FranchMate/franch_mate/issues/1","number":1,"state":"open","locked":false,"title":"Simple hash input plus users(partialy)","user":{"login":"AlexBeznos","id":4825561,"avatar_url":"https://avatars.githubusercontent.com/u/4825561?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexBeznos","html_url":"https://github.com/AlexBeznos","followers_url":"https://api.github.com/users/AlexBeznos/followers","following_url":"https://api.github.com/users/AlexBeznos/following{/other_user}","gists_url":"https://api.github.com/users/AlexBeznos/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexBeznos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexBeznos/subscriptions","organizations_url":"https://api.github.com/users/AlexBeznos/orgs","repos_url":"https://api.github.com/users/AlexBeznos/repos","events_url":"https://api.github.com/users/AlexBeznos/events{/privacy}","received_events_url":"https://api.github.com/users/AlexBeznos/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-11T23:04:35Z","updated_at":"2015-11-11T23:33:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1d5b26f4992f239841728a4d12720b111c1623c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FranchMate/franch_mate/pulls/1/commits","review_comments_url":"https://api.github.com/repos/FranchMate/franch_mate/pulls/1/comments","review_comment_url":"https://api.github.com/repos/FranchMate/franch_mate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FranchMate/franch_mate/issues/1/comments","statuses_url":"https://api.github.com/repos/FranchMate/franch_mate/statuses/42326c50aa7cbe16fc6e0b8c9ffb0c93fc33c469","head":{"label":"FranchMate:simple_hash_input-plus-users(partialy)","ref":"simple_hash_input-plus-users(partialy)","sha":"42326c50aa7cbe16fc6e0b8c9ffb0c93fc33c469","user":{"login":"FranchMate","id":15015441,"avatar_url":"https://avatars.githubusercontent.com/u/15015441?v=3","gravatar_id":"","url":"https://api.github.com/users/FranchMate","html_url":"https://github.com/FranchMate","followers_url":"https://api.github.com/users/FranchMate/followers","following_url":"https://api.github.com/users/FranchMate/following{/other_user}","gists_url":"https://api.github.com/users/FranchMate/gists{/gist_id}","starred_url":"https://api.github.com/users/FranchMate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranchMate/subscriptions","organizations_url":"https://api.github.com/users/FranchMate/orgs","repos_url":"https://api.github.com/users/FranchMate/repos","events_url":"https://api.github.com/users/FranchMate/events{/privacy}","received_events_url":"https://api.github.com/users/FranchMate/received_events","type":"Organization","site_admin":false},"repo":{"id":43817832,"name":"franch_mate","full_name":"FranchMate/franch_mate","owner":{"login":"FranchMate","id":15015441,"avatar_url":"https://avatars.githubusercontent.com/u/15015441?v=3","gravatar_id":"","url":"https://api.github.com/users/FranchMate","html_url":"https://github.com/FranchMate","followers_url":"https://api.github.com/users/FranchMate/followers","following_url":"https://api.github.com/users/FranchMate/following{/other_user}","gists_url":"https://api.github.com/users/FranchMate/gists{/gist_id}","starred_url":"https://api.github.com/users/FranchMate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranchMate/subscriptions","organizations_url":"https://api.github.com/users/FranchMate/orgs","repos_url":"https://api.github.com/users/FranchMate/repos","events_url":"https://api.github.com/users/FranchMate/events{/privacy}","received_events_url":"https://api.github.com/users/FranchMate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FranchMate/franch_mate","description":"","fork":false,"url":"https://api.github.com/repos/FranchMate/franch_mate","forks_url":"https://api.github.com/repos/FranchMate/franch_mate/forks","keys_url":"https://api.github.com/repos/FranchMate/franch_mate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FranchMate/franch_mate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FranchMate/franch_mate/teams","hooks_url":"https://api.github.com/repos/FranchMate/franch_mate/hooks","issue_events_url":"https://api.github.com/repos/FranchMate/franch_mate/issues/events{/number}","events_url":"https://api.github.com/repos/FranchMate/franch_mate/events","assignees_url":"https://api.github.com/repos/FranchMate/franch_mate/assignees{/user}","branches_url":"https://api.github.com/repos/FranchMate/franch_mate/branches{/branch}","tags_url":"https://api.github.com/repos/FranchMate/franch_mate/tags","blobs_url":"https://api.github.com/repos/FranchMate/franch_mate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FranchMate/franch_mate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FranchMate/franch_mate/git/refs{/sha}","trees_url":"https://api.github.com/repos/FranchMate/franch_mate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FranchMate/franch_mate/statuses/{sha}","languages_url":"https://api.github.com/repos/FranchMate/franch_mate/languages","stargazers_url":"https://api.github.com/repos/FranchMate/franch_mate/stargazers","contributors_url":"https://api.github.com/repos/FranchMate/franch_mate/contributors","subscribers_url":"https://api.github.com/repos/FranchMate/franch_mate/subscribers","subscription_url":"https://api.github.com/repos/FranchMate/franch_mate/subscription","commits_url":"https://api.github.com/repos/FranchMate/franch_mate/commits{/sha}","git_commits_url":"https://api.github.com/repos/FranchMate/franch_mate/git/commits{/sha}","comments_url":"https://api.github.com/repos/FranchMate/franch_mate/comments{/number}","issue_comment_url":"https://api.github.com/repos/FranchMate/franch_mate/issues/comments{/number}","contents_url":"https://api.github.com/repos/FranchMate/franch_mate/contents/{+path}","compare_url":"https://api.github.com/repos/FranchMate/franch_mate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FranchMate/franch_mate/merges","archive_url":"https://api.github.com/repos/FranchMate/franch_mate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FranchMate/franch_mate/downloads","issues_url":"https://api.github.com/repos/FranchMate/franch_mate/issues{/number}","pulls_url":"https://api.github.com/repos/FranchMate/franch_mate/pulls{/number}","milestones_url":"https://api.github.com/repos/FranchMate/franch_mate/milestones{/number}","notifications_url":"https://api.github.com/repos/FranchMate/franch_mate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FranchMate/franch_mate/labels{/name}","releases_url":"https://api.github.com/repos/FranchMate/franch_mate/releases{/id}","created_at":"2015-10-07T13:32:45Z","updated_at":"2015-10-07T13:33:12Z","pushed_at":"2015-11-11T23:33:30Z","git_url":"git://github.com/FranchMate/franch_mate.git","ssh_url":"git@github.com:FranchMate/franch_mate.git","clone_url":"https://github.com/FranchMate/franch_mate.git","svn_url":"https://github.com/FranchMate/franch_mate","homepage":null,"size":224,"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":"FranchMate:master","ref":"master","sha":"a67929813ca4aebd0a9cd32803f3c917249e8dd5","user":{"login":"FranchMate","id":15015441,"avatar_url":"https://avatars.githubusercontent.com/u/15015441?v=3","gravatar_id":"","url":"https://api.github.com/users/FranchMate","html_url":"https://github.com/FranchMate","followers_url":"https://api.github.com/users/FranchMate/followers","following_url":"https://api.github.com/users/FranchMate/following{/other_user}","gists_url":"https://api.github.com/users/FranchMate/gists{/gist_id}","starred_url":"https://api.github.com/users/FranchMate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranchMate/subscriptions","organizations_url":"https://api.github.com/users/FranchMate/orgs","repos_url":"https://api.github.com/users/FranchMate/repos","events_url":"https://api.github.com/users/FranchMate/events{/privacy}","received_events_url":"https://api.github.com/users/FranchMate/received_events","type":"Organization","site_admin":false},"repo":{"id":43817832,"name":"franch_mate","full_name":"FranchMate/franch_mate","owner":{"login":"FranchMate","id":15015441,"avatar_url":"https://avatars.githubusercontent.com/u/15015441?v=3","gravatar_id":"","url":"https://api.github.com/users/FranchMate","html_url":"https://github.com/FranchMate","followers_url":"https://api.github.com/users/FranchMate/followers","following_url":"https://api.github.com/users/FranchMate/following{/other_user}","gists_url":"https://api.github.com/users/FranchMate/gists{/gist_id}","starred_url":"https://api.github.com/users/FranchMate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranchMate/subscriptions","organizations_url":"https://api.github.com/users/FranchMate/orgs","repos_url":"https://api.github.com/users/FranchMate/repos","events_url":"https://api.github.com/users/FranchMate/events{/privacy}","received_events_url":"https://api.github.com/users/FranchMate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FranchMate/franch_mate","description":"","fork":false,"url":"https://api.github.com/repos/FranchMate/franch_mate","forks_url":"https://api.github.com/repos/FranchMate/franch_mate/forks","keys_url":"https://api.github.com/repos/FranchMate/franch_mate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FranchMate/franch_mate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FranchMate/franch_mate/teams","hooks_url":"https://api.github.com/repos/FranchMate/franch_mate/hooks","issue_events_url":"https://api.github.com/repos/FranchMate/franch_mate/issues/events{/number}","events_url":"https://api.github.com/repos/FranchMate/franch_mate/events","assignees_url":"https://api.github.com/repos/FranchMate/franch_mate/assignees{/user}","branches_url":"https://api.github.com/repos/FranchMate/franch_mate/branches{/branch}","tags_url":"https://api.github.com/repos/FranchMate/franch_mate/tags","blobs_url":"https://api.github.com/repos/FranchMate/franch_mate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FranchMate/franch_mate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FranchMate/franch_mate/git/refs{/sha}","trees_url":"https://api.github.com/repos/FranchMate/franch_mate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FranchMate/franch_mate/statuses/{sha}","languages_url":"https://api.github.com/repos/FranchMate/franch_mate/languages","stargazers_url":"https://api.github.com/repos/FranchMate/franch_mate/stargazers","contributors_url":"https://api.github.com/repos/FranchMate/franch_mate/contributors","subscribers_url":"https://api.github.com/repos/FranchMate/franch_mate/subscribers","subscription_url":"https://api.github.com/repos/FranchMate/franch_mate/subscription","commits_url":"https://api.github.com/repos/FranchMate/franch_mate/commits{/sha}","git_commits_url":"https://api.github.com/repos/FranchMate/franch_mate/git/commits{/sha}","comments_url":"https://api.github.com/repos/FranchMate/franch_mate/comments{/number}","issue_comment_url":"https://api.github.com/repos/FranchMate/franch_mate/issues/comments{/number}","contents_url":"https://api.github.com/repos/FranchMate/franch_mate/contents/{+path}","compare_url":"https://api.github.com/repos/FranchMate/franch_mate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FranchMate/franch_mate/merges","archive_url":"https://api.github.com/repos/FranchMate/franch_mate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FranchMate/franch_mate/downloads","issues_url":"https://api.github.com/repos/FranchMate/franch_mate/issues{/number}","pulls_url":"https://api.github.com/repos/FranchMate/franch_mate/pulls{/number}","milestones_url":"https://api.github.com/repos/FranchMate/franch_mate/milestones{/number}","notifications_url":"https://api.github.com/repos/FranchMate/franch_mate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FranchMate/franch_mate/labels{/name}","releases_url":"https://api.github.com/repos/FranchMate/franch_mate/releases{/id}","created_at":"2015-10-07T13:32:45Z","updated_at":"2015-10-07T13:33:12Z","pushed_at":"2015-11-11T23:33:30Z","git_url":"git://github.com/FranchMate/franch_mate.git","ssh_url":"git@github.com:FranchMate/franch_mate.git","clone_url":"https://github.com/FranchMate/franch_mate.git","svn_url":"https://github.com/FranchMate/franch_mate","homepage":null,"size":224,"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/FranchMate/franch_mate/pulls/1"},"html":{"href":"https://github.com/FranchMate/franch_mate/pull/1"},"issue":{"href":"https://api.github.com/repos/FranchMate/franch_mate/issues/1"},"comments":{"href":"https://api.github.com/repos/FranchMate/franch_mate/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/FranchMate/franch_mate/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/FranchMate/franch_mate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FranchMate/franch_mate/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/FranchMate/franch_mate/statuses/42326c50aa7cbe16fc6e0b8c9ffb0c93fc33c469"}}}}