{"action":"created","comment":{"url":"https://api.github.com/repos/mainelabs/techlist/pulls/comments/29947386","id":29947386,"diff_hunk":"@@ -0,0 +1,44 @@\n+require 'rails_helper'\n+\n+feature 'A user subscribe to the place Atom feed' do\n+  scenario 'and consult the complete correct feed page' do\n+    CsvImportService.new('Place', Rails.root.join('spec/fixtures/csv/valid.csv'), state: 'active').save\n+    CsvImportService.new('Place', Rails.root.join('spec/fixtures/csv/valid2.csv'), state: 'active').save\n+\n+    visit '/feed'\n+\n+    expect(page).to have_title(t('feed.title'))\n+\n+    page.assert_selector('entry author name', count: 2)\n+    all('entry author name').each { |name| expect(name.text).to_not eq('') }\n+\n+    all('entry content').each { |content| assert content.text.include? t('feed.link_to_map_marker') }\n+\n+    expect(all('updated').length).to eq(3)\n+    all('updated').each { |updated| expect(updated.text).to_not eq('') }\n+\n+    expect(Place.first.updated_at).to_not eq(Place.last.updated_at)\n+  end\n+\n+  scenario 'and the last updated place appears first' do\n+    CsvImportService.new('Place', Rails.root.join('spec/fixtures/csv/valid.csv'), state: 'active').save","path":"spec/features/a_user_can_subscribe_to_the_place_feed.rb","position":24,"original_position":24,"commit_id":"4cbb773afe653c369e3f418ff16eda273cc99b8a","original_commit_id":"4cbb773afe653c369e3f418ff16eda273cc99b8a","user":{"login":"scharrier","id":30788,"avatar_url":"https://avatars.githubusercontent.com/u/30788?v=3","gravatar_id":"","url":"https://api.github.com/users/scharrier","html_url":"https://github.com/scharrier","followers_url":"https://api.github.com/users/scharrier/followers","following_url":"https://api.github.com/users/scharrier/following{/other_user}","gists_url":"https://api.github.com/users/scharrier/gists{/gist_id}","starred_url":"https://api.github.com/users/scharrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scharrier/subscriptions","organizations_url":"https://api.github.com/users/scharrier/orgs","repos_url":"https://api.github.com/users/scharrier/repos","events_url":"https://api.github.com/users/scharrier/events{/privacy}","received_events_url":"https://api.github.com/users/scharrier/received_events","type":"User","site_admin":false},"body":"Same as https://github.com/mainelabs/techlist/pull/59/files#r29946817","created_at":"2015-05-08T15:09:38Z","updated_at":"2015-05-08T15:09:38Z","html_url":"https://github.com/mainelabs/techlist/pull/59#discussion_r29947386","pull_request_url":"https://api.github.com/repos/mainelabs/techlist/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/mainelabs/techlist/pulls/comments/29947386"},"html":{"href":"https://github.com/mainelabs/techlist/pull/59#discussion_r29947386"},"pull_request":{"href":"https://api.github.com/repos/mainelabs/techlist/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/mainelabs/techlist/pulls/59","id":29753153,"html_url":"https://github.com/mainelabs/techlist/pull/59","diff_url":"https://github.com/mainelabs/techlist/pull/59.diff","patch_url":"https://github.com/mainelabs/techlist/pull/59.patch","issue_url":"https://api.github.com/repos/mainelabs/techlist/issues/59","number":59,"state":"open","locked":false,"title":"Adding Atom feed","user":{"login":"Lucas-C","id":925560,"avatar_url":"https://avatars.githubusercontent.com/u/925560?v=3","gravatar_id":"","url":"https://api.github.com/users/Lucas-C","html_url":"https://github.com/Lucas-C","followers_url":"https://api.github.com/users/Lucas-C/followers","following_url":"https://api.github.com/users/Lucas-C/following{/other_user}","gists_url":"https://api.github.com/users/Lucas-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucas-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucas-C/subscriptions","organizations_url":"https://api.github.com/users/Lucas-C/orgs","repos_url":"https://api.github.com/users/Lucas-C/repos","events_url":"https://api.github.com/users/Lucas-C/events{/privacy}","received_events_url":"https://api.github.com/users/Lucas-C/received_events","type":"User","site_admin":false},"body":"Adresses #58\r\n\r\nThe feed has been validated using feedvalidator.org and validator.w3.org/feed/check.cgi\r\n\r\nNote that this is the very first time I'm coding in Ruby ^^\r\nI'm open to every kind of feedback: code style, idioms, separation of concerns in Rails...","created_at":"2015-02-21T12:39:33Z","updated_at":"2015-05-08T15:09:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"edd9a0433232b441a5da7e5660e0b0ab0a18667c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mainelabs/techlist/pulls/59/commits","review_comments_url":"https://api.github.com/repos/mainelabs/techlist/pulls/59/comments","review_comment_url":"https://api.github.com/repos/mainelabs/techlist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mainelabs/techlist/issues/59/comments","statuses_url":"https://api.github.com/repos/mainelabs/techlist/statuses/4cbb773afe653c369e3f418ff16eda273cc99b8a","head":{"label":"Lucas-C:master","ref":"master","sha":"4cbb773afe653c369e3f418ff16eda273cc99b8a","user":{"login":"Lucas-C","id":925560,"avatar_url":"https://avatars.githubusercontent.com/u/925560?v=3","gravatar_id":"","url":"https://api.github.com/users/Lucas-C","html_url":"https://github.com/Lucas-C","followers_url":"https://api.github.com/users/Lucas-C/followers","following_url":"https://api.github.com/users/Lucas-C/following{/other_user}","gists_url":"https://api.github.com/users/Lucas-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucas-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucas-C/subscriptions","organizations_url":"https://api.github.com/users/Lucas-C/orgs","repos_url":"https://api.github.com/users/Lucas-C/repos","events_url":"https://api.github.com/users/Lucas-C/events{/privacy}","received_events_url":"https://api.github.com/users/Lucas-C/received_events","type":"User","site_admin":false},"repo":{"id":31125101,"name":"techlist","full_name":"Lucas-C/techlist","owner":{"login":"Lucas-C","id":925560,"avatar_url":"https://avatars.githubusercontent.com/u/925560?v=3","gravatar_id":"","url":"https://api.github.com/users/Lucas-C","html_url":"https://github.com/Lucas-C","followers_url":"https://api.github.com/users/Lucas-C/followers","following_url":"https://api.github.com/users/Lucas-C/following{/other_user}","gists_url":"https://api.github.com/users/Lucas-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucas-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucas-C/subscriptions","organizations_url":"https://api.github.com/users/Lucas-C/orgs","repos_url":"https://api.github.com/users/Lucas-C/repos","events_url":"https://api.github.com/users/Lucas-C/events{/privacy}","received_events_url":"https://api.github.com/users/Lucas-C/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lucas-C/techlist","description":"Map of digital places","fork":true,"url":"https://api.github.com/repos/Lucas-C/techlist","forks_url":"https://api.github.com/repos/Lucas-C/techlist/forks","keys_url":"https://api.github.com/repos/Lucas-C/techlist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lucas-C/techlist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lucas-C/techlist/teams","hooks_url":"https://api.github.com/repos/Lucas-C/techlist/hooks","issue_events_url":"https://api.github.com/repos/Lucas-C/techlist/issues/events{/number}","events_url":"https://api.github.com/repos/Lucas-C/techlist/events","assignees_url":"https://api.github.com/repos/Lucas-C/techlist/assignees{/user}","branches_url":"https://api.github.com/repos/Lucas-C/techlist/branches{/branch}","tags_url":"https://api.github.com/repos/Lucas-C/techlist/tags","blobs_url":"https://api.github.com/repos/Lucas-C/techlist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lucas-C/techlist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lucas-C/techlist/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lucas-C/techlist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lucas-C/techlist/statuses/{sha}","languages_url":"https://api.github.com/repos/Lucas-C/techlist/languages","stargazers_url":"https://api.github.com/repos/Lucas-C/techlist/stargazers","contributors_url":"https://api.github.com/repos/Lucas-C/techlist/contributors","subscribers_url":"https://api.github.com/repos/Lucas-C/techlist/subscribers","subscription_url":"https://api.github.com/repos/Lucas-C/techlist/subscription","commits_url":"https://api.github.com/repos/Lucas-C/techlist/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lucas-C/techlist/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lucas-C/techlist/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lucas-C/techlist/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lucas-C/techlist/contents/{+path}","compare_url":"https://api.github.com/repos/Lucas-C/techlist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lucas-C/techlist/merges","archive_url":"https://api.github.com/repos/Lucas-C/techlist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lucas-C/techlist/downloads","issues_url":"https://api.github.com/repos/Lucas-C/techlist/issues{/number}","pulls_url":"https://api.github.com/repos/Lucas-C/techlist/pulls{/number}","milestones_url":"https://api.github.com/repos/Lucas-C/techlist/milestones{/number}","notifications_url":"https://api.github.com/repos/Lucas-C/techlist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lucas-C/techlist/labels{/name}","releases_url":"https://api.github.com/repos/Lucas-C/techlist/releases{/id}","created_at":"2015-02-21T12:35:31Z","updated_at":"2015-02-23T11:20:31Z","pushed_at":"2015-02-23T11:20:31Z","git_url":"git://github.com/Lucas-C/techlist.git","ssh_url":"git@github.com:Lucas-C/techlist.git","clone_url":"https://github.com/Lucas-C/techlist.git","svn_url":"https://github.com/Lucas-C/techlist","homepage":"","size":521,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mainelabs:master","ref":"master","sha":"4d385ec6e02c1adfb2f18fd2315a8a5318fb181e","user":{"login":"mainelabs","id":6437471,"avatar_url":"https://avatars.githubusercontent.com/u/6437471?v=3","gravatar_id":"","url":"https://api.github.com/users/mainelabs","html_url":"https://github.com/mainelabs","followers_url":"https://api.github.com/users/mainelabs/followers","following_url":"https://api.github.com/users/mainelabs/following{/other_user}","gists_url":"https://api.github.com/users/mainelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/mainelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mainelabs/subscriptions","organizations_url":"https://api.github.com/users/mainelabs/orgs","repos_url":"https://api.github.com/users/mainelabs/repos","events_url":"https://api.github.com/users/mainelabs/events{/privacy}","received_events_url":"https://api.github.com/users/mainelabs/received_events","type":"Organization","site_admin":false},"repo":{"id":21538686,"name":"techlist","full_name":"mainelabs/techlist","owner":{"login":"mainelabs","id":6437471,"avatar_url":"https://avatars.githubusercontent.com/u/6437471?v=3","gravatar_id":"","url":"https://api.github.com/users/mainelabs","html_url":"https://github.com/mainelabs","followers_url":"https://api.github.com/users/mainelabs/followers","following_url":"https://api.github.com/users/mainelabs/following{/other_user}","gists_url":"https://api.github.com/users/mainelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/mainelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mainelabs/subscriptions","organizations_url":"https://api.github.com/users/mainelabs/orgs","repos_url":"https://api.github.com/users/mainelabs/repos","events_url":"https://api.github.com/users/mainelabs/events{/privacy}","received_events_url":"https://api.github.com/users/mainelabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mainelabs/techlist","description":"Map of digital places","fork":false,"url":"https://api.github.com/repos/mainelabs/techlist","forks_url":"https://api.github.com/repos/mainelabs/techlist/forks","keys_url":"https://api.github.com/repos/mainelabs/techlist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mainelabs/techlist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mainelabs/techlist/teams","hooks_url":"https://api.github.com/repos/mainelabs/techlist/hooks","issue_events_url":"https://api.github.com/repos/mainelabs/techlist/issues/events{/number}","events_url":"https://api.github.com/repos/mainelabs/techlist/events","assignees_url":"https://api.github.com/repos/mainelabs/techlist/assignees{/user}","branches_url":"https://api.github.com/repos/mainelabs/techlist/branches{/branch}","tags_url":"https://api.github.com/repos/mainelabs/techlist/tags","blobs_url":"https://api.github.com/repos/mainelabs/techlist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mainelabs/techlist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mainelabs/techlist/git/refs{/sha}","trees_url":"https://api.github.com/repos/mainelabs/techlist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mainelabs/techlist/statuses/{sha}","languages_url":"https://api.github.com/repos/mainelabs/techlist/languages","stargazers_url":"https://api.github.com/repos/mainelabs/techlist/stargazers","contributors_url":"https://api.github.com/repos/mainelabs/techlist/contributors","subscribers_url":"https://api.github.com/repos/mainelabs/techlist/subscribers","subscription_url":"https://api.github.com/repos/mainelabs/techlist/subscription","commits_url":"https://api.github.com/repos/mainelabs/techlist/commits{/sha}","git_commits_url":"https://api.github.com/repos/mainelabs/techlist/git/commits{/sha}","comments_url":"https://api.github.com/repos/mainelabs/techlist/comments{/number}","issue_comment_url":"https://api.github.com/repos/mainelabs/techlist/issues/comments{/number}","contents_url":"https://api.github.com/repos/mainelabs/techlist/contents/{+path}","compare_url":"https://api.github.com/repos/mainelabs/techlist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mainelabs/techlist/merges","archive_url":"https://api.github.com/repos/mainelabs/techlist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mainelabs/techlist/downloads","issues_url":"https://api.github.com/repos/mainelabs/techlist/issues{/number}","pulls_url":"https://api.github.com/repos/mainelabs/techlist/pulls{/number}","milestones_url":"https://api.github.com/repos/mainelabs/techlist/milestones{/number}","notifications_url":"https://api.github.com/repos/mainelabs/techlist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mainelabs/techlist/labels{/name}","releases_url":"https://api.github.com/repos/mainelabs/techlist/releases{/id}","created_at":"2014-07-06T11:24:09Z","updated_at":"2015-05-08T14:34:51Z","pushed_at":"2015-05-08T14:34:54Z","git_url":"git://github.com/mainelabs/techlist.git","ssh_url":"git@github.com:mainelabs/techlist.git","clone_url":"https://github.com/mainelabs/techlist.git","svn_url":"https://github.com/mainelabs/techlist","homepage":"","size":1048,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mainelabs/techlist/pulls/59"},"html":{"href":"https://github.com/mainelabs/techlist/pull/59"},"issue":{"href":"https://api.github.com/repos/mainelabs/techlist/issues/59"},"comments":{"href":"https://api.github.com/repos/mainelabs/techlist/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/mainelabs/techlist/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/mainelabs/techlist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mainelabs/techlist/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/mainelabs/techlist/statuses/4cbb773afe653c369e3f418ff16eda273cc99b8a"}}}}