{"action":"created","comment":{"url":"https://api.github.com/repos/Soluciones/news_tematica/pulls/comments/35901941","id":35901941,"diff_hunk":"@@ -13,27 +13,27 @@\n     end\n \n     it \"debe devolver 'hace una semana' si la última news de esta temática es antigua\" do\n-      create(:news_tematica, tematica: tematica, fecha_hasta: Time.parse(\"Feb 03 2013\"))\n-      create(:news_tematica, tematica: tematica, fecha_hasta: Time.parse(\"Feb 01 2013\"))\n+      create(:news_tematica, suscribible: tematica, fecha_hasta: Time.parse(\"Feb 03 2013\"))\n+      create(:news_tematica, suscribible: tematica, fecha_hasta: Time.parse(\"Feb 01 2013\"))\n       create(:news_tematica, fecha_hasta: Time.parse(\"Feb 22 2013\"))\n-      news = build(:news_tematica, tematica: tematica)\n+      news = build(:news_tematica, suscribible: tematica)\n       news.calcula_fecha_desde\n       expect(news.fecha_desde).to eq Time.parse('Feb 17 2013')\n     end\n \n     it \"debe devolver la fecha_hasta de la última news de esta temática, si es reciente y está enviada\" do\n-      create(:news_tematica, tematica: tematica, fecha_hasta: Time.parse(\"Feb 20 2013\"), enviada: false)\n-      create(:news_tematica, tematica: tematica, fecha_hasta: Time.parse(\"Feb 19 2013\"), enviada: true)\n-      create(:news_tematica, tematica: tematica, fecha_hasta: Time.parse(\"Feb 18 2013\"), enviada: true)\n+      create(:news_tematica, suscribible: tematica, fecha_hasta: Time.parse(\"Feb 20 2013\"), enviada: false)","path":"spec/models/news_tematica/news_tematica_spec.rb","position":19,"original_position":19,"commit_id":"0ce907ed0a01bd2986be108703a8dd20448336ea","original_commit_id":"0ce907ed0a01bd2986be108703a8dd20448336ea","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-07-30T18:16:50Z","updated_at":"2015-07-30T18:16:50Z","html_url":"https://github.com/Soluciones/news_tematica/pull/57#discussion_r35901941","pull_request_url":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/Soluciones/news_tematica/pulls/comments/35901941"},"html":{"href":"https://github.com/Soluciones/news_tematica/pull/57#discussion_r35901941"},"pull_request":{"href":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57","id":41264754,"html_url":"https://github.com/Soluciones/news_tematica/pull/57","diff_url":"https://github.com/Soluciones/news_tematica/pull/57.diff","patch_url":"https://github.com/Soluciones/news_tematica/pull/57.patch","issue_url":"https://api.github.com/repos/Soluciones/news_tematica/issues/57","number":57,"state":"open","locked":false,"title":"Fix tests on master","user":{"login":"Fernan2","id":103583,"avatar_url":"https://avatars.githubusercontent.com/u/103583?v=3","gravatar_id":"","url":"https://api.github.com/users/Fernan2","html_url":"https://github.com/Fernan2","followers_url":"https://api.github.com/users/Fernan2/followers","following_url":"https://api.github.com/users/Fernan2/following{/other_user}","gists_url":"https://api.github.com/users/Fernan2/gists{/gist_id}","starred_url":"https://api.github.com/users/Fernan2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fernan2/subscriptions","organizations_url":"https://api.github.com/users/Fernan2/orgs","repos_url":"https://api.github.com/users/Fernan2/repos","events_url":"https://api.github.com/users/Fernan2/events{/privacy}","received_events_url":"https://api.github.com/users/Fernan2/received_events","type":"User","site_admin":false},"body":"News_tematica don't have tematica, but suscribible; and ffaker should be '~> 2.0' to support new syntax","created_at":"2015-07-30T18:16:34Z","updated_at":"2015-07-30T18:16:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"678f826cc3083fb902dbb5a8c4814b598995c6a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57/commits","review_comments_url":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57/comments","review_comment_url":"https://api.github.com/repos/Soluciones/news_tematica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Soluciones/news_tematica/issues/57/comments","statuses_url":"https://api.github.com/repos/Soluciones/news_tematica/statuses/0ce907ed0a01bd2986be108703a8dd20448336ea","head":{"label":"Soluciones:fix-tests-on-master","ref":"fix-tests-on-master","sha":"0ce907ed0a01bd2986be108703a8dd20448336ea","user":{"login":"Soluciones","id":568729,"avatar_url":"https://avatars.githubusercontent.com/u/568729?v=3","gravatar_id":"","url":"https://api.github.com/users/Soluciones","html_url":"https://github.com/Soluciones","followers_url":"https://api.github.com/users/Soluciones/followers","following_url":"https://api.github.com/users/Soluciones/following{/other_user}","gists_url":"https://api.github.com/users/Soluciones/gists{/gist_id}","starred_url":"https://api.github.com/users/Soluciones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soluciones/subscriptions","organizations_url":"https://api.github.com/users/Soluciones/orgs","repos_url":"https://api.github.com/users/Soluciones/repos","events_url":"https://api.github.com/users/Soluciones/events{/privacy}","received_events_url":"https://api.github.com/users/Soluciones/received_events","type":"Organization","site_admin":false},"repo":{"id":10075704,"name":"news_tematica","full_name":"Soluciones/news_tematica","owner":{"login":"Soluciones","id":568729,"avatar_url":"https://avatars.githubusercontent.com/u/568729?v=3","gravatar_id":"","url":"https://api.github.com/users/Soluciones","html_url":"https://github.com/Soluciones","followers_url":"https://api.github.com/users/Soluciones/followers","following_url":"https://api.github.com/users/Soluciones/following{/other_user}","gists_url":"https://api.github.com/users/Soluciones/gists{/gist_id}","starred_url":"https://api.github.com/users/Soluciones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soluciones/subscriptions","organizations_url":"https://api.github.com/users/Soluciones/orgs","repos_url":"https://api.github.com/users/Soluciones/repos","events_url":"https://api.github.com/users/Soluciones/events{/privacy}","received_events_url":"https://api.github.com/users/Soluciones/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Soluciones/news_tematica","description":"Nuestro primer engine","fork":false,"url":"https://api.github.com/repos/Soluciones/news_tematica","forks_url":"https://api.github.com/repos/Soluciones/news_tematica/forks","keys_url":"https://api.github.com/repos/Soluciones/news_tematica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Soluciones/news_tematica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Soluciones/news_tematica/teams","hooks_url":"https://api.github.com/repos/Soluciones/news_tematica/hooks","issue_events_url":"https://api.github.com/repos/Soluciones/news_tematica/issues/events{/number}","events_url":"https://api.github.com/repos/Soluciones/news_tematica/events","assignees_url":"https://api.github.com/repos/Soluciones/news_tematica/assignees{/user}","branches_url":"https://api.github.com/repos/Soluciones/news_tematica/branches{/branch}","tags_url":"https://api.github.com/repos/Soluciones/news_tematica/tags","blobs_url":"https://api.github.com/repos/Soluciones/news_tematica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Soluciones/news_tematica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Soluciones/news_tematica/git/refs{/sha}","trees_url":"https://api.github.com/repos/Soluciones/news_tematica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Soluciones/news_tematica/statuses/{sha}","languages_url":"https://api.github.com/repos/Soluciones/news_tematica/languages","stargazers_url":"https://api.github.com/repos/Soluciones/news_tematica/stargazers","contributors_url":"https://api.github.com/repos/Soluciones/news_tematica/contributors","subscribers_url":"https://api.github.com/repos/Soluciones/news_tematica/subscribers","subscription_url":"https://api.github.com/repos/Soluciones/news_tematica/subscription","commits_url":"https://api.github.com/repos/Soluciones/news_tematica/commits{/sha}","git_commits_url":"https://api.github.com/repos/Soluciones/news_tematica/git/commits{/sha}","comments_url":"https://api.github.com/repos/Soluciones/news_tematica/comments{/number}","issue_comment_url":"https://api.github.com/repos/Soluciones/news_tematica/issues/comments{/number}","contents_url":"https://api.github.com/repos/Soluciones/news_tematica/contents/{+path}","compare_url":"https://api.github.com/repos/Soluciones/news_tematica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Soluciones/news_tematica/merges","archive_url":"https://api.github.com/repos/Soluciones/news_tematica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Soluciones/news_tematica/downloads","issues_url":"https://api.github.com/repos/Soluciones/news_tematica/issues{/number}","pulls_url":"https://api.github.com/repos/Soluciones/news_tematica/pulls{/number}","milestones_url":"https://api.github.com/repos/Soluciones/news_tematica/milestones{/number}","notifications_url":"https://api.github.com/repos/Soluciones/news_tematica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Soluciones/news_tematica/labels{/name}","releases_url":"https://api.github.com/repos/Soluciones/news_tematica/releases{/id}","created_at":"2013-05-15T09:54:31Z","updated_at":"2015-07-02T07:39:18Z","pushed_at":"2015-07-30T18:16:34Z","git_url":"git://github.com/Soluciones/news_tematica.git","ssh_url":"git@github.com:Soluciones/news_tematica.git","clone_url":"https://github.com/Soluciones/news_tematica.git","svn_url":"https://github.com/Soluciones/news_tematica","homepage":null,"size":1491,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Soluciones:master","ref":"master","sha":"db33e6ed959d9a3b345e2c76560f897fb7ba4ce3","user":{"login":"Soluciones","id":568729,"avatar_url":"https://avatars.githubusercontent.com/u/568729?v=3","gravatar_id":"","url":"https://api.github.com/users/Soluciones","html_url":"https://github.com/Soluciones","followers_url":"https://api.github.com/users/Soluciones/followers","following_url":"https://api.github.com/users/Soluciones/following{/other_user}","gists_url":"https://api.github.com/users/Soluciones/gists{/gist_id}","starred_url":"https://api.github.com/users/Soluciones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soluciones/subscriptions","organizations_url":"https://api.github.com/users/Soluciones/orgs","repos_url":"https://api.github.com/users/Soluciones/repos","events_url":"https://api.github.com/users/Soluciones/events{/privacy}","received_events_url":"https://api.github.com/users/Soluciones/received_events","type":"Organization","site_admin":false},"repo":{"id":10075704,"name":"news_tematica","full_name":"Soluciones/news_tematica","owner":{"login":"Soluciones","id":568729,"avatar_url":"https://avatars.githubusercontent.com/u/568729?v=3","gravatar_id":"","url":"https://api.github.com/users/Soluciones","html_url":"https://github.com/Soluciones","followers_url":"https://api.github.com/users/Soluciones/followers","following_url":"https://api.github.com/users/Soluciones/following{/other_user}","gists_url":"https://api.github.com/users/Soluciones/gists{/gist_id}","starred_url":"https://api.github.com/users/Soluciones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soluciones/subscriptions","organizations_url":"https://api.github.com/users/Soluciones/orgs","repos_url":"https://api.github.com/users/Soluciones/repos","events_url":"https://api.github.com/users/Soluciones/events{/privacy}","received_events_url":"https://api.github.com/users/Soluciones/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Soluciones/news_tematica","description":"Nuestro primer engine","fork":false,"url":"https://api.github.com/repos/Soluciones/news_tematica","forks_url":"https://api.github.com/repos/Soluciones/news_tematica/forks","keys_url":"https://api.github.com/repos/Soluciones/news_tematica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Soluciones/news_tematica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Soluciones/news_tematica/teams","hooks_url":"https://api.github.com/repos/Soluciones/news_tematica/hooks","issue_events_url":"https://api.github.com/repos/Soluciones/news_tematica/issues/events{/number}","events_url":"https://api.github.com/repos/Soluciones/news_tematica/events","assignees_url":"https://api.github.com/repos/Soluciones/news_tematica/assignees{/user}","branches_url":"https://api.github.com/repos/Soluciones/news_tematica/branches{/branch}","tags_url":"https://api.github.com/repos/Soluciones/news_tematica/tags","blobs_url":"https://api.github.com/repos/Soluciones/news_tematica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Soluciones/news_tematica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Soluciones/news_tematica/git/refs{/sha}","trees_url":"https://api.github.com/repos/Soluciones/news_tematica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Soluciones/news_tematica/statuses/{sha}","languages_url":"https://api.github.com/repos/Soluciones/news_tematica/languages","stargazers_url":"https://api.github.com/repos/Soluciones/news_tematica/stargazers","contributors_url":"https://api.github.com/repos/Soluciones/news_tematica/contributors","subscribers_url":"https://api.github.com/repos/Soluciones/news_tematica/subscribers","subscription_url":"https://api.github.com/repos/Soluciones/news_tematica/subscription","commits_url":"https://api.github.com/repos/Soluciones/news_tematica/commits{/sha}","git_commits_url":"https://api.github.com/repos/Soluciones/news_tematica/git/commits{/sha}","comments_url":"https://api.github.com/repos/Soluciones/news_tematica/comments{/number}","issue_comment_url":"https://api.github.com/repos/Soluciones/news_tematica/issues/comments{/number}","contents_url":"https://api.github.com/repos/Soluciones/news_tematica/contents/{+path}","compare_url":"https://api.github.com/repos/Soluciones/news_tematica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Soluciones/news_tematica/merges","archive_url":"https://api.github.com/repos/Soluciones/news_tematica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Soluciones/news_tematica/downloads","issues_url":"https://api.github.com/repos/Soluciones/news_tematica/issues{/number}","pulls_url":"https://api.github.com/repos/Soluciones/news_tematica/pulls{/number}","milestones_url":"https://api.github.com/repos/Soluciones/news_tematica/milestones{/number}","notifications_url":"https://api.github.com/repos/Soluciones/news_tematica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Soluciones/news_tematica/labels{/name}","releases_url":"https://api.github.com/repos/Soluciones/news_tematica/releases{/id}","created_at":"2013-05-15T09:54:31Z","updated_at":"2015-07-02T07:39:18Z","pushed_at":"2015-07-30T18:16:34Z","git_url":"git://github.com/Soluciones/news_tematica.git","ssh_url":"git@github.com:Soluciones/news_tematica.git","clone_url":"https://github.com/Soluciones/news_tematica.git","svn_url":"https://github.com/Soluciones/news_tematica","homepage":null,"size":1491,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57"},"html":{"href":"https://github.com/Soluciones/news_tematica/pull/57"},"issue":{"href":"https://api.github.com/repos/Soluciones/news_tematica/issues/57"},"comments":{"href":"https://api.github.com/repos/Soluciones/news_tematica/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/Soluciones/news_tematica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Soluciones/news_tematica/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/Soluciones/news_tematica/statuses/0ce907ed0a01bd2986be108703a8dd20448336ea"}}}}