{"action":"created","comment":{"url":"https://api.github.com/repos/Bouckaert/donamaria/pulls/comments/31077466","id":31077466,"diff_hunk":"@@ -0,0 +1,20 @@\n+require 'rails_helper'\n+\n+describe PromissoriesController, type: :controller do\n+  let(:user) { FactoryGirl.create :user }\n+  let(:proposal) { FactoryGirl.create :proposal }\n+  let(:promissory) { FactoryGirl.create :promissory }\n+\n+  it \"is a valid factory\" do\n+    factory = FactoryGirl.build(:promissory)\n+    if factory.respond_to?(:valid?)\n+      expect(factory).to be_valid","path":"spec/controllers/promissories_controller_spec.rb","position":11,"original_position":11,"commit_id":"c2faaa30f60bec96d38c72b9dd48b166cba6fcd2","original_commit_id":"c2faaa30f60bec96d38c72b9dd48b166cba6fcd2","user":{"login":"embs","id":1200033,"avatar_url":"https://avatars.githubusercontent.com/u/1200033?v=3","gravatar_id":"","url":"https://api.github.com/users/embs","html_url":"https://github.com/embs","followers_url":"https://api.github.com/users/embs/followers","following_url":"https://api.github.com/users/embs/following{/other_user}","gists_url":"https://api.github.com/users/embs/gists{/gist_id}","starred_url":"https://api.github.com/users/embs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embs/subscriptions","organizations_url":"https://api.github.com/users/embs/orgs","repos_url":"https://api.github.com/users/embs/repos","events_url":"https://api.github.com/users/embs/events{/privacy}","received_events_url":"https://api.github.com/users/embs/received_events","type":"User","site_admin":false},"body":"Isso aqui não tá testando nada do controlador.","created_at":"2015-05-26T20:42:12Z","updated_at":"2015-05-26T20:42:12Z","html_url":"https://github.com/Bouckaert/donamaria/pull/31#discussion_r31077466","pull_request_url":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/Bouckaert/donamaria/pulls/comments/31077466"},"html":{"href":"https://github.com/Bouckaert/donamaria/pull/31#discussion_r31077466"},"pull_request":{"href":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31","id":35885187,"html_url":"https://github.com/Bouckaert/donamaria/pull/31","diff_url":"https://github.com/Bouckaert/donamaria/pull/31.diff","patch_url":"https://github.com/Bouckaert/donamaria/pull/31.patch","issue_url":"https://api.github.com/repos/Bouckaert/donamaria/issues/31","number":31,"state":"open","locked":false,"title":"Promissory donation","user":{"login":"Bouckaert","id":7050977,"avatar_url":"https://avatars.githubusercontent.com/u/7050977?v=3","gravatar_id":"","url":"https://api.github.com/users/Bouckaert","html_url":"https://github.com/Bouckaert","followers_url":"https://api.github.com/users/Bouckaert/followers","following_url":"https://api.github.com/users/Bouckaert/following{/other_user}","gists_url":"https://api.github.com/users/Bouckaert/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouckaert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouckaert/subscriptions","organizations_url":"https://api.github.com/users/Bouckaert/orgs","repos_url":"https://api.github.com/users/Bouckaert/repos","events_url":"https://api.github.com/users/Bouckaert/events{/privacy}","received_events_url":"https://api.github.com/users/Bouckaert/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-20T23:02:00Z","updated_at":"2015-05-26T20:42:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ddef816effc4f7680b0fc943db5b1010d1123ae0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31/commits","review_comments_url":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31/comments","review_comment_url":"https://api.github.com/repos/Bouckaert/donamaria/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Bouckaert/donamaria/issues/31/comments","statuses_url":"https://api.github.com/repos/Bouckaert/donamaria/statuses/c2faaa30f60bec96d38c72b9dd48b166cba6fcd2","head":{"label":"Bouckaert:promissory-donation","ref":"promissory-donation","sha":"c2faaa30f60bec96d38c72b9dd48b166cba6fcd2","user":{"login":"Bouckaert","id":7050977,"avatar_url":"https://avatars.githubusercontent.com/u/7050977?v=3","gravatar_id":"","url":"https://api.github.com/users/Bouckaert","html_url":"https://github.com/Bouckaert","followers_url":"https://api.github.com/users/Bouckaert/followers","following_url":"https://api.github.com/users/Bouckaert/following{/other_user}","gists_url":"https://api.github.com/users/Bouckaert/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouckaert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouckaert/subscriptions","organizations_url":"https://api.github.com/users/Bouckaert/orgs","repos_url":"https://api.github.com/users/Bouckaert/repos","events_url":"https://api.github.com/users/Bouckaert/events{/privacy}","received_events_url":"https://api.github.com/users/Bouckaert/received_events","type":"User","site_admin":false},"repo":{"id":25660839,"name":"donamaria","full_name":"Bouckaert/donamaria","owner":{"login":"Bouckaert","id":7050977,"avatar_url":"https://avatars.githubusercontent.com/u/7050977?v=3","gravatar_id":"","url":"https://api.github.com/users/Bouckaert","html_url":"https://github.com/Bouckaert","followers_url":"https://api.github.com/users/Bouckaert/followers","following_url":"https://api.github.com/users/Bouckaert/following{/other_user}","gists_url":"https://api.github.com/users/Bouckaert/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouckaert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouckaert/subscriptions","organizations_url":"https://api.github.com/users/Bouckaert/orgs","repos_url":"https://api.github.com/users/Bouckaert/repos","events_url":"https://api.github.com/users/Bouckaert/events{/privacy}","received_events_url":"https://api.github.com/users/Bouckaert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bouckaert/donamaria","description":"DonaMaria - Lugar de mulher é na política!","fork":false,"url":"https://api.github.com/repos/Bouckaert/donamaria","forks_url":"https://api.github.com/repos/Bouckaert/donamaria/forks","keys_url":"https://api.github.com/repos/Bouckaert/donamaria/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bouckaert/donamaria/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bouckaert/donamaria/teams","hooks_url":"https://api.github.com/repos/Bouckaert/donamaria/hooks","issue_events_url":"https://api.github.com/repos/Bouckaert/donamaria/issues/events{/number}","events_url":"https://api.github.com/repos/Bouckaert/donamaria/events","assignees_url":"https://api.github.com/repos/Bouckaert/donamaria/assignees{/user}","branches_url":"https://api.github.com/repos/Bouckaert/donamaria/branches{/branch}","tags_url":"https://api.github.com/repos/Bouckaert/donamaria/tags","blobs_url":"https://api.github.com/repos/Bouckaert/donamaria/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bouckaert/donamaria/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bouckaert/donamaria/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bouckaert/donamaria/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bouckaert/donamaria/statuses/{sha}","languages_url":"https://api.github.com/repos/Bouckaert/donamaria/languages","stargazers_url":"https://api.github.com/repos/Bouckaert/donamaria/stargazers","contributors_url":"https://api.github.com/repos/Bouckaert/donamaria/contributors","subscribers_url":"https://api.github.com/repos/Bouckaert/donamaria/subscribers","subscription_url":"https://api.github.com/repos/Bouckaert/donamaria/subscription","commits_url":"https://api.github.com/repos/Bouckaert/donamaria/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bouckaert/donamaria/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bouckaert/donamaria/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bouckaert/donamaria/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bouckaert/donamaria/contents/{+path}","compare_url":"https://api.github.com/repos/Bouckaert/donamaria/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bouckaert/donamaria/merges","archive_url":"https://api.github.com/repos/Bouckaert/donamaria/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bouckaert/donamaria/downloads","issues_url":"https://api.github.com/repos/Bouckaert/donamaria/issues{/number}","pulls_url":"https://api.github.com/repos/Bouckaert/donamaria/pulls{/number}","milestones_url":"https://api.github.com/repos/Bouckaert/donamaria/milestones{/number}","notifications_url":"https://api.github.com/repos/Bouckaert/donamaria/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bouckaert/donamaria/labels{/name}","releases_url":"https://api.github.com/repos/Bouckaert/donamaria/releases{/id}","created_at":"2014-10-23T22:35:11Z","updated_at":"2015-05-05T20:31:53Z","pushed_at":"2015-05-26T20:37:05Z","git_url":"git://github.com/Bouckaert/donamaria.git","ssh_url":"git@github.com:Bouckaert/donamaria.git","clone_url":"https://github.com/Bouckaert/donamaria.git","svn_url":"https://github.com/Bouckaert/donamaria","homepage":"http://www.donamaria.net.br","size":14565,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"Bouckaert:master","ref":"master","sha":"cfea9513d68f24382c1d9f631ceedb76997f88fa","user":{"login":"Bouckaert","id":7050977,"avatar_url":"https://avatars.githubusercontent.com/u/7050977?v=3","gravatar_id":"","url":"https://api.github.com/users/Bouckaert","html_url":"https://github.com/Bouckaert","followers_url":"https://api.github.com/users/Bouckaert/followers","following_url":"https://api.github.com/users/Bouckaert/following{/other_user}","gists_url":"https://api.github.com/users/Bouckaert/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouckaert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouckaert/subscriptions","organizations_url":"https://api.github.com/users/Bouckaert/orgs","repos_url":"https://api.github.com/users/Bouckaert/repos","events_url":"https://api.github.com/users/Bouckaert/events{/privacy}","received_events_url":"https://api.github.com/users/Bouckaert/received_events","type":"User","site_admin":false},"repo":{"id":25660839,"name":"donamaria","full_name":"Bouckaert/donamaria","owner":{"login":"Bouckaert","id":7050977,"avatar_url":"https://avatars.githubusercontent.com/u/7050977?v=3","gravatar_id":"","url":"https://api.github.com/users/Bouckaert","html_url":"https://github.com/Bouckaert","followers_url":"https://api.github.com/users/Bouckaert/followers","following_url":"https://api.github.com/users/Bouckaert/following{/other_user}","gists_url":"https://api.github.com/users/Bouckaert/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouckaert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouckaert/subscriptions","organizations_url":"https://api.github.com/users/Bouckaert/orgs","repos_url":"https://api.github.com/users/Bouckaert/repos","events_url":"https://api.github.com/users/Bouckaert/events{/privacy}","received_events_url":"https://api.github.com/users/Bouckaert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bouckaert/donamaria","description":"DonaMaria - Lugar de mulher é na política!","fork":false,"url":"https://api.github.com/repos/Bouckaert/donamaria","forks_url":"https://api.github.com/repos/Bouckaert/donamaria/forks","keys_url":"https://api.github.com/repos/Bouckaert/donamaria/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bouckaert/donamaria/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bouckaert/donamaria/teams","hooks_url":"https://api.github.com/repos/Bouckaert/donamaria/hooks","issue_events_url":"https://api.github.com/repos/Bouckaert/donamaria/issues/events{/number}","events_url":"https://api.github.com/repos/Bouckaert/donamaria/events","assignees_url":"https://api.github.com/repos/Bouckaert/donamaria/assignees{/user}","branches_url":"https://api.github.com/repos/Bouckaert/donamaria/branches{/branch}","tags_url":"https://api.github.com/repos/Bouckaert/donamaria/tags","blobs_url":"https://api.github.com/repos/Bouckaert/donamaria/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bouckaert/donamaria/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bouckaert/donamaria/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bouckaert/donamaria/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bouckaert/donamaria/statuses/{sha}","languages_url":"https://api.github.com/repos/Bouckaert/donamaria/languages","stargazers_url":"https://api.github.com/repos/Bouckaert/donamaria/stargazers","contributors_url":"https://api.github.com/repos/Bouckaert/donamaria/contributors","subscribers_url":"https://api.github.com/repos/Bouckaert/donamaria/subscribers","subscription_url":"https://api.github.com/repos/Bouckaert/donamaria/subscription","commits_url":"https://api.github.com/repos/Bouckaert/donamaria/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bouckaert/donamaria/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bouckaert/donamaria/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bouckaert/donamaria/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bouckaert/donamaria/contents/{+path}","compare_url":"https://api.github.com/repos/Bouckaert/donamaria/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bouckaert/donamaria/merges","archive_url":"https://api.github.com/repos/Bouckaert/donamaria/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bouckaert/donamaria/downloads","issues_url":"https://api.github.com/repos/Bouckaert/donamaria/issues{/number}","pulls_url":"https://api.github.com/repos/Bouckaert/donamaria/pulls{/number}","milestones_url":"https://api.github.com/repos/Bouckaert/donamaria/milestones{/number}","notifications_url":"https://api.github.com/repos/Bouckaert/donamaria/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bouckaert/donamaria/labels{/name}","releases_url":"https://api.github.com/repos/Bouckaert/donamaria/releases{/id}","created_at":"2014-10-23T22:35:11Z","updated_at":"2015-05-05T20:31:53Z","pushed_at":"2015-05-26T20:37:05Z","git_url":"git://github.com/Bouckaert/donamaria.git","ssh_url":"git@github.com:Bouckaert/donamaria.git","clone_url":"https://github.com/Bouckaert/donamaria.git","svn_url":"https://github.com/Bouckaert/donamaria","homepage":"http://www.donamaria.net.br","size":14565,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31"},"html":{"href":"https://github.com/Bouckaert/donamaria/pull/31"},"issue":{"href":"https://api.github.com/repos/Bouckaert/donamaria/issues/31"},"comments":{"href":"https://api.github.com/repos/Bouckaert/donamaria/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/Bouckaert/donamaria/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Bouckaert/donamaria/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/Bouckaert/donamaria/statuses/c2faaa30f60bec96d38c72b9dd48b166cba6fcd2"}}}}