{"action":"created","comment":{"url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/comments/171240804","pull_request_review_id":100057428,"id":171240804,"diff_hunk":"@@ -98,5 +98,12 @@\n       example.run\n       Rails.application.secrets.facebook_registration_requires_email = false\n     end\n+\n+    config.around(:each, :passw_length_more_2) do |example|\n+      prev_length = Rails.application.secrets.min_password_length_allowed\n+      Rails.application.secrets.min_password_length_allowed = 2","path":"spec/rails_helper.rb","position":7,"original_position":7,"commit_id":"73bcdff731f34ad9cdd0d9dde68c8663f8a73338","original_commit_id":"73bcdff731f34ad9cdd0d9dde68c8663f8a73338","user":{"login":"Vslava","id":875486,"avatar_url":"https://avatars0.githubusercontent.com/u/875486?v=4","gravatar_id":"","url":"https://api.github.com/users/Vslava","html_url":"https://github.com/Vslava","followers_url":"https://api.github.com/users/Vslava/followers","following_url":"https://api.github.com/users/Vslava/following{/other_user}","gists_url":"https://api.github.com/users/Vslava/gists{/gist_id}","starred_url":"https://api.github.com/users/Vslava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vslava/subscriptions","organizations_url":"https://api.github.com/users/Vslava/orgs","repos_url":"https://api.github.com/users/Vslava/repos","events_url":"https://api.github.com/users/Vslava/events{/privacy}","received_events_url":"https://api.github.com/users/Vslava/received_events","type":"User","site_admin":false},"body":"@evg-tray вот это сделай через allow(Rails.application.secrets).to receive(:min_password_length_allowed) в тестах и не надо городить arround.","created_at":"2018-02-28T13:17:33Z","updated_at":"2018-02-28T13:26:13Z","html_url":"https://github.com/wearevolt/auth-microservice/pull/32#discussion_r171240804","pull_request_url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/comments/171240804"},"html":{"href":"https://github.com/wearevolt/auth-microservice/pull/32#discussion_r171240804"},"pull_request":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32","id":171896142,"html_url":"https://github.com/wearevolt/auth-microservice/pull/32","diff_url":"https://github.com/wearevolt/auth-microservice/pull/32.diff","patch_url":"https://github.com/wearevolt/auth-microservice/pull/32.patch","issue_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues/32","number":32,"state":"open","locked":false,"title":"Feature/45600_change_minimum_count_of_password_symbols","user":{"login":"evg-tray","id":23312747,"avatar_url":"https://avatars3.githubusercontent.com/u/23312747?v=4","gravatar_id":"","url":"https://api.github.com/users/evg-tray","html_url":"https://github.com/evg-tray","followers_url":"https://api.github.com/users/evg-tray/followers","following_url":"https://api.github.com/users/evg-tray/following{/other_user}","gists_url":"https://api.github.com/users/evg-tray/gists{/gist_id}","starred_url":"https://api.github.com/users/evg-tray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evg-tray/subscriptions","organizations_url":"https://api.github.com/users/evg-tray/orgs","repos_url":"https://api.github.com/users/evg-tray/repos","events_url":"https://api.github.com/users/evg-tray/events{/privacy}","received_events_url":"https://api.github.com/users/evg-tray/received_events","type":"User","site_admin":false},"body":"<a target=\"_blank\" href=\"https://volt.tpondemand.com/entity/45600\">User Story 45600 to this PR</a>","created_at":"2018-02-28T09:23:06Z","updated_at":"2018-02-28T13:26:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"159df9fb708eaf2ce01e2c9ea2735af6c6dcacd3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":581440630,"url":"https://api.github.com/repos/wearevolt/auth-microservice/labels/ready%20for%20review","name":"ready for review","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32/commits","review_comments_url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32/comments","review_comment_url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues/32/comments","statuses_url":"https://api.github.com/repos/wearevolt/auth-microservice/statuses/73bcdff731f34ad9cdd0d9dde68c8663f8a73338","head":{"label":"wearevolt:Feature/45600_change_minimum_count_of_password_symbols","ref":"Feature/45600_change_minimum_count_of_password_symbols","sha":"73bcdff731f34ad9cdd0d9dde68c8663f8a73338","user":{"login":"wearevolt","id":18703991,"avatar_url":"https://avatars3.githubusercontent.com/u/18703991?v=4","gravatar_id":"","url":"https://api.github.com/users/wearevolt","html_url":"https://github.com/wearevolt","followers_url":"https://api.github.com/users/wearevolt/followers","following_url":"https://api.github.com/users/wearevolt/following{/other_user}","gists_url":"https://api.github.com/users/wearevolt/gists{/gist_id}","starred_url":"https://api.github.com/users/wearevolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearevolt/subscriptions","organizations_url":"https://api.github.com/users/wearevolt/orgs","repos_url":"https://api.github.com/users/wearevolt/repos","events_url":"https://api.github.com/users/wearevolt/events{/privacy}","received_events_url":"https://api.github.com/users/wearevolt/received_events","type":"Organization","site_admin":false},"repo":{"id":86319285,"name":"auth-microservice","full_name":"wearevolt/auth-microservice","owner":{"login":"wearevolt","id":18703991,"avatar_url":"https://avatars3.githubusercontent.com/u/18703991?v=4","gravatar_id":"","url":"https://api.github.com/users/wearevolt","html_url":"https://github.com/wearevolt","followers_url":"https://api.github.com/users/wearevolt/followers","following_url":"https://api.github.com/users/wearevolt/following{/other_user}","gists_url":"https://api.github.com/users/wearevolt/gists{/gist_id}","starred_url":"https://api.github.com/users/wearevolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearevolt/subscriptions","organizations_url":"https://api.github.com/users/wearevolt/orgs","repos_url":"https://api.github.com/users/wearevolt/repos","events_url":"https://api.github.com/users/wearevolt/events{/privacy}","received_events_url":"https://api.github.com/users/wearevolt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wearevolt/auth-microservice","description":null,"fork":false,"url":"https://api.github.com/repos/wearevolt/auth-microservice","forks_url":"https://api.github.com/repos/wearevolt/auth-microservice/forks","keys_url":"https://api.github.com/repos/wearevolt/auth-microservice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wearevolt/auth-microservice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wearevolt/auth-microservice/teams","hooks_url":"https://api.github.com/repos/wearevolt/auth-microservice/hooks","issue_events_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues/events{/number}","events_url":"https://api.github.com/repos/wearevolt/auth-microservice/events","assignees_url":"https://api.github.com/repos/wearevolt/auth-microservice/assignees{/user}","branches_url":"https://api.github.com/repos/wearevolt/auth-microservice/branches{/branch}","tags_url":"https://api.github.com/repos/wearevolt/auth-microservice/tags","blobs_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/refs{/sha}","trees_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wearevolt/auth-microservice/statuses/{sha}","languages_url":"https://api.github.com/repos/wearevolt/auth-microservice/languages","stargazers_url":"https://api.github.com/repos/wearevolt/auth-microservice/stargazers","contributors_url":"https://api.github.com/repos/wearevolt/auth-microservice/contributors","subscribers_url":"https://api.github.com/repos/wearevolt/auth-microservice/subscribers","subscription_url":"https://api.github.com/repos/wearevolt/auth-microservice/subscription","commits_url":"https://api.github.com/repos/wearevolt/auth-microservice/commits{/sha}","git_commits_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/commits{/sha}","comments_url":"https://api.github.com/repos/wearevolt/auth-microservice/comments{/number}","issue_comment_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues/comments{/number}","contents_url":"https://api.github.com/repos/wearevolt/auth-microservice/contents/{+path}","compare_url":"https://api.github.com/repos/wearevolt/auth-microservice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wearevolt/auth-microservice/merges","archive_url":"https://api.github.com/repos/wearevolt/auth-microservice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wearevolt/auth-microservice/downloads","issues_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues{/number}","pulls_url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls{/number}","milestones_url":"https://api.github.com/repos/wearevolt/auth-microservice/milestones{/number}","notifications_url":"https://api.github.com/repos/wearevolt/auth-microservice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wearevolt/auth-microservice/labels{/name}","releases_url":"https://api.github.com/repos/wearevolt/auth-microservice/releases{/id}","deployments_url":"https://api.github.com/repos/wearevolt/auth-microservice/deployments","created_at":"2017-03-27T09:54:02Z","updated_at":"2017-10-13T07:22:28Z","pushed_at":"2018-02-28T12:44:16Z","git_url":"git://github.com/wearevolt/auth-microservice.git","ssh_url":"git@github.com:wearevolt/auth-microservice.git","clone_url":"https://github.com/wearevolt/auth-microservice.git","svn_url":"https://github.com/wearevolt/auth-microservice","homepage":null,"size":502,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"wearevolt:Feature/38721_continue_connect_auth_microservice_to_trove","ref":"Feature/38721_continue_connect_auth_microservice_to_trove","sha":"741725000b540d9d819d126a6f2a7ea6f85ac50f","user":{"login":"wearevolt","id":18703991,"avatar_url":"https://avatars3.githubusercontent.com/u/18703991?v=4","gravatar_id":"","url":"https://api.github.com/users/wearevolt","html_url":"https://github.com/wearevolt","followers_url":"https://api.github.com/users/wearevolt/followers","following_url":"https://api.github.com/users/wearevolt/following{/other_user}","gists_url":"https://api.github.com/users/wearevolt/gists{/gist_id}","starred_url":"https://api.github.com/users/wearevolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearevolt/subscriptions","organizations_url":"https://api.github.com/users/wearevolt/orgs","repos_url":"https://api.github.com/users/wearevolt/repos","events_url":"https://api.github.com/users/wearevolt/events{/privacy}","received_events_url":"https://api.github.com/users/wearevolt/received_events","type":"Organization","site_admin":false},"repo":{"id":86319285,"name":"auth-microservice","full_name":"wearevolt/auth-microservice","owner":{"login":"wearevolt","id":18703991,"avatar_url":"https://avatars3.githubusercontent.com/u/18703991?v=4","gravatar_id":"","url":"https://api.github.com/users/wearevolt","html_url":"https://github.com/wearevolt","followers_url":"https://api.github.com/users/wearevolt/followers","following_url":"https://api.github.com/users/wearevolt/following{/other_user}","gists_url":"https://api.github.com/users/wearevolt/gists{/gist_id}","starred_url":"https://api.github.com/users/wearevolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearevolt/subscriptions","organizations_url":"https://api.github.com/users/wearevolt/orgs","repos_url":"https://api.github.com/users/wearevolt/repos","events_url":"https://api.github.com/users/wearevolt/events{/privacy}","received_events_url":"https://api.github.com/users/wearevolt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wearevolt/auth-microservice","description":null,"fork":false,"url":"https://api.github.com/repos/wearevolt/auth-microservice","forks_url":"https://api.github.com/repos/wearevolt/auth-microservice/forks","keys_url":"https://api.github.com/repos/wearevolt/auth-microservice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wearevolt/auth-microservice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wearevolt/auth-microservice/teams","hooks_url":"https://api.github.com/repos/wearevolt/auth-microservice/hooks","issue_events_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues/events{/number}","events_url":"https://api.github.com/repos/wearevolt/auth-microservice/events","assignees_url":"https://api.github.com/repos/wearevolt/auth-microservice/assignees{/user}","branches_url":"https://api.github.com/repos/wearevolt/auth-microservice/branches{/branch}","tags_url":"https://api.github.com/repos/wearevolt/auth-microservice/tags","blobs_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/refs{/sha}","trees_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wearevolt/auth-microservice/statuses/{sha}","languages_url":"https://api.github.com/repos/wearevolt/auth-microservice/languages","stargazers_url":"https://api.github.com/repos/wearevolt/auth-microservice/stargazers","contributors_url":"https://api.github.com/repos/wearevolt/auth-microservice/contributors","subscribers_url":"https://api.github.com/repos/wearevolt/auth-microservice/subscribers","subscription_url":"https://api.github.com/repos/wearevolt/auth-microservice/subscription","commits_url":"https://api.github.com/repos/wearevolt/auth-microservice/commits{/sha}","git_commits_url":"https://api.github.com/repos/wearevolt/auth-microservice/git/commits{/sha}","comments_url":"https://api.github.com/repos/wearevolt/auth-microservice/comments{/number}","issue_comment_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues/comments{/number}","contents_url":"https://api.github.com/repos/wearevolt/auth-microservice/contents/{+path}","compare_url":"https://api.github.com/repos/wearevolt/auth-microservice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wearevolt/auth-microservice/merges","archive_url":"https://api.github.com/repos/wearevolt/auth-microservice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wearevolt/auth-microservice/downloads","issues_url":"https://api.github.com/repos/wearevolt/auth-microservice/issues{/number}","pulls_url":"https://api.github.com/repos/wearevolt/auth-microservice/pulls{/number}","milestones_url":"https://api.github.com/repos/wearevolt/auth-microservice/milestones{/number}","notifications_url":"https://api.github.com/repos/wearevolt/auth-microservice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wearevolt/auth-microservice/labels{/name}","releases_url":"https://api.github.com/repos/wearevolt/auth-microservice/releases{/id}","deployments_url":"https://api.github.com/repos/wearevolt/auth-microservice/deployments","created_at":"2017-03-27T09:54:02Z","updated_at":"2017-10-13T07:22:28Z","pushed_at":"2018-02-28T12:44:16Z","git_url":"git://github.com/wearevolt/auth-microservice.git","ssh_url":"git@github.com:wearevolt/auth-microservice.git","clone_url":"https://github.com/wearevolt/auth-microservice.git","svn_url":"https://github.com/wearevolt/auth-microservice","homepage":null,"size":502,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32"},"html":{"href":"https://github.com/wearevolt/auth-microservice/pull/32"},"issue":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/issues/32"},"comments":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/wearevolt/auth-microservice/statuses/73bcdff731f34ad9cdd0d9dde68c8663f8a73338"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Vslava"}}