{"action":"created","comment":{"url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/comments/43893759","id":43893759,"diff_hunk":"@@ -1,44 +1,44 @@\n-require 'rails_helper'\r\n-\r\n-describe \"Visiting the homepage\" do\r\n-  Url.delete_all\r\n-  def generate_url(amount = 20,   views = nil)\r\n-    amount.times do\r\n-      views ||= rand(1..10)\r\n-      Url.create(original: Faker::Internet.url, views: views)\r\n-    end\r\n-    visit \"/urls/new\"\r\n-  end\r\n-\r\n-  # it \"displays nothing if db is empty\" do\r\n-  #   visit \"/urls/new\"\r\n-  #   within \"div.popular_urls\" do\r\n-  #     within(\"h2\") do\r\n-  #       expect(page).to_not have_content(\"Popular Urls\")\r\n-  #     end\r\n-  #     # expect((\"ul li\").size).to eq(0)\r\n-  #   end\r\n-  # end\r\n-\r\n-  describe \"if db is not empty\" do\r\n-    # it \"displays popular urls\" do\r\n-    #   generate_url(10)\r\n-    #   within \"div .popular_urls\" do\r\n-    #     within(\"h2\") do\r\n-    #       expect(page).to have_content(\"Popular Urls\")\r\n-    #     end\r\n-    #     expect((\"ul li\").size).to eq(10)\r\n-    #   end\r\n-    # end\r\n-  #\r\n-    it \"displays the Url with the most view\" do\r\n-      expect(Url.count).to eql(0)\r\n-      generate_url(20, 50)\r\n-      visit \"/urls/new\"\r\n-    end\r\n-  #\r\n-  #   it \"displays maximum of 20 Url\" do\r\n-  #\r\n-  #   end\r\n-  end\r\n-end\r\n+# require 'rails_helper'\r","path":"spec/features/urls/popular_url_spec.rb","position":45,"original_position":45,"commit_id":"78924d6762917c4d780c2c9a3348bb61631a343e","original_commit_id":"78924d6762917c4d780c2c9a3348bb61631a343e","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":"Carriage return character detected.","created_at":"2015-11-04T15:28:42Z","updated_at":"2015-11-04T15:28:42Z","html_url":"https://github.com/andela-ooranagwa/minly/pull/6#discussion_r43893759","pull_request_url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/comments/43893759"},"html":{"href":"https://github.com/andela-ooranagwa/minly/pull/6#discussion_r43893759"},"pull_request":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/6","id":49702445,"html_url":"https://github.com/andela-ooranagwa/minly/pull/6","diff_url":"https://github.com/andela-ooranagwa/minly/pull/6.diff","patch_url":"https://github.com/andela-ooranagwa/minly/pull/6.patch","issue_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues/6","number":6,"state":"open","locked":false,"title":"Feature/tests","user":{"login":"andela-ooranagwa","id":11221027,"avatar_url":"https://avatars.githubusercontent.com/u/11221027?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ooranagwa","html_url":"https://github.com/andela-ooranagwa","followers_url":"https://api.github.com/users/andela-ooranagwa/followers","following_url":"https://api.github.com/users/andela-ooranagwa/following{/other_user}","gists_url":"https://api.github.com/users/andela-ooranagwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ooranagwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ooranagwa/subscriptions","organizations_url":"https://api.github.com/users/andela-ooranagwa/orgs","repos_url":"https://api.github.com/users/andela-ooranagwa/repos","events_url":"https://api.github.com/users/andela-ooranagwa/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ooranagwa/received_events","type":"User","site_admin":false},"body":"Improve app look and feel across board. Add images for better user experience. \r\nDeactivate unnecessary tests","created_at":"2015-11-04T15:28:30Z","updated_at":"2015-11-04T15:28:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cddd4878a8d44fd5c183ee618d9936d324fb614","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/6/commits","review_comments_url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/6/comments","review_comment_url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues/6/comments","statuses_url":"https://api.github.com/repos/andela-ooranagwa/minly/statuses/78924d6762917c4d780c2c9a3348bb61631a343e","head":{"label":"andela-ooranagwa:feature/tests","ref":"feature/tests","sha":"78924d6762917c4d780c2c9a3348bb61631a343e","user":{"login":"andela-ooranagwa","id":11221027,"avatar_url":"https://avatars.githubusercontent.com/u/11221027?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ooranagwa","html_url":"https://github.com/andela-ooranagwa","followers_url":"https://api.github.com/users/andela-ooranagwa/followers","following_url":"https://api.github.com/users/andela-ooranagwa/following{/other_user}","gists_url":"https://api.github.com/users/andela-ooranagwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ooranagwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ooranagwa/subscriptions","organizations_url":"https://api.github.com/users/andela-ooranagwa/orgs","repos_url":"https://api.github.com/users/andela-ooranagwa/repos","events_url":"https://api.github.com/users/andela-ooranagwa/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ooranagwa/received_events","type":"User","site_admin":false},"repo":{"id":44622030,"name":"minly","full_name":"andela-ooranagwa/minly","owner":{"login":"andela-ooranagwa","id":11221027,"avatar_url":"https://avatars.githubusercontent.com/u/11221027?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ooranagwa","html_url":"https://github.com/andela-ooranagwa","followers_url":"https://api.github.com/users/andela-ooranagwa/followers","following_url":"https://api.github.com/users/andela-ooranagwa/following{/other_user}","gists_url":"https://api.github.com/users/andela-ooranagwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ooranagwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ooranagwa/subscriptions","organizations_url":"https://api.github.com/users/andela-ooranagwa/orgs","repos_url":"https://api.github.com/users/andela-ooranagwa/repos","events_url":"https://api.github.com/users/andela-ooranagwa/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ooranagwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-ooranagwa/minly","description":"","fork":false,"url":"https://api.github.com/repos/andela-ooranagwa/minly","forks_url":"https://api.github.com/repos/andela-ooranagwa/minly/forks","keys_url":"https://api.github.com/repos/andela-ooranagwa/minly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-ooranagwa/minly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-ooranagwa/minly/teams","hooks_url":"https://api.github.com/repos/andela-ooranagwa/minly/hooks","issue_events_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues/events{/number}","events_url":"https://api.github.com/repos/andela-ooranagwa/minly/events","assignees_url":"https://api.github.com/repos/andela-ooranagwa/minly/assignees{/user}","branches_url":"https://api.github.com/repos/andela-ooranagwa/minly/branches{/branch}","tags_url":"https://api.github.com/repos/andela-ooranagwa/minly/tags","blobs_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-ooranagwa/minly/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-ooranagwa/minly/languages","stargazers_url":"https://api.github.com/repos/andela-ooranagwa/minly/stargazers","contributors_url":"https://api.github.com/repos/andela-ooranagwa/minly/contributors","subscribers_url":"https://api.github.com/repos/andela-ooranagwa/minly/subscribers","subscription_url":"https://api.github.com/repos/andela-ooranagwa/minly/subscription","commits_url":"https://api.github.com/repos/andela-ooranagwa/minly/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-ooranagwa/minly/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-ooranagwa/minly/contents/{+path}","compare_url":"https://api.github.com/repos/andela-ooranagwa/minly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-ooranagwa/minly/merges","archive_url":"https://api.github.com/repos/andela-ooranagwa/minly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-ooranagwa/minly/downloads","issues_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues{/number}","pulls_url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-ooranagwa/minly/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-ooranagwa/minly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-ooranagwa/minly/labels{/name}","releases_url":"https://api.github.com/repos/andela-ooranagwa/minly/releases{/id}","created_at":"2015-10-20T17:09:59Z","updated_at":"2015-10-20T17:14:33Z","pushed_at":"2015-11-04T15:28:30Z","git_url":"git://github.com/andela-ooranagwa/minly.git","ssh_url":"git@github.com:andela-ooranagwa/minly.git","clone_url":"https://github.com/andela-ooranagwa/minly.git","svn_url":"https://github.com/andela-ooranagwa/minly","homepage":null,"size":852,"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":"andela-ooranagwa:master","ref":"master","sha":"7dc0e72ac36727c4ebef2ce39009eea76062081b","user":{"login":"andela-ooranagwa","id":11221027,"avatar_url":"https://avatars.githubusercontent.com/u/11221027?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ooranagwa","html_url":"https://github.com/andela-ooranagwa","followers_url":"https://api.github.com/users/andela-ooranagwa/followers","following_url":"https://api.github.com/users/andela-ooranagwa/following{/other_user}","gists_url":"https://api.github.com/users/andela-ooranagwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ooranagwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ooranagwa/subscriptions","organizations_url":"https://api.github.com/users/andela-ooranagwa/orgs","repos_url":"https://api.github.com/users/andela-ooranagwa/repos","events_url":"https://api.github.com/users/andela-ooranagwa/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ooranagwa/received_events","type":"User","site_admin":false},"repo":{"id":44622030,"name":"minly","full_name":"andela-ooranagwa/minly","owner":{"login":"andela-ooranagwa","id":11221027,"avatar_url":"https://avatars.githubusercontent.com/u/11221027?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ooranagwa","html_url":"https://github.com/andela-ooranagwa","followers_url":"https://api.github.com/users/andela-ooranagwa/followers","following_url":"https://api.github.com/users/andela-ooranagwa/following{/other_user}","gists_url":"https://api.github.com/users/andela-ooranagwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ooranagwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ooranagwa/subscriptions","organizations_url":"https://api.github.com/users/andela-ooranagwa/orgs","repos_url":"https://api.github.com/users/andela-ooranagwa/repos","events_url":"https://api.github.com/users/andela-ooranagwa/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ooranagwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-ooranagwa/minly","description":"","fork":false,"url":"https://api.github.com/repos/andela-ooranagwa/minly","forks_url":"https://api.github.com/repos/andela-ooranagwa/minly/forks","keys_url":"https://api.github.com/repos/andela-ooranagwa/minly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-ooranagwa/minly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-ooranagwa/minly/teams","hooks_url":"https://api.github.com/repos/andela-ooranagwa/minly/hooks","issue_events_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues/events{/number}","events_url":"https://api.github.com/repos/andela-ooranagwa/minly/events","assignees_url":"https://api.github.com/repos/andela-ooranagwa/minly/assignees{/user}","branches_url":"https://api.github.com/repos/andela-ooranagwa/minly/branches{/branch}","tags_url":"https://api.github.com/repos/andela-ooranagwa/minly/tags","blobs_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-ooranagwa/minly/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-ooranagwa/minly/languages","stargazers_url":"https://api.github.com/repos/andela-ooranagwa/minly/stargazers","contributors_url":"https://api.github.com/repos/andela-ooranagwa/minly/contributors","subscribers_url":"https://api.github.com/repos/andela-ooranagwa/minly/subscribers","subscription_url":"https://api.github.com/repos/andela-ooranagwa/minly/subscription","commits_url":"https://api.github.com/repos/andela-ooranagwa/minly/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-ooranagwa/minly/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-ooranagwa/minly/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-ooranagwa/minly/contents/{+path}","compare_url":"https://api.github.com/repos/andela-ooranagwa/minly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-ooranagwa/minly/merges","archive_url":"https://api.github.com/repos/andela-ooranagwa/minly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-ooranagwa/minly/downloads","issues_url":"https://api.github.com/repos/andela-ooranagwa/minly/issues{/number}","pulls_url":"https://api.github.com/repos/andela-ooranagwa/minly/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-ooranagwa/minly/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-ooranagwa/minly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-ooranagwa/minly/labels{/name}","releases_url":"https://api.github.com/repos/andela-ooranagwa/minly/releases{/id}","created_at":"2015-10-20T17:09:59Z","updated_at":"2015-10-20T17:14:33Z","pushed_at":"2015-11-04T15:28:30Z","git_url":"git://github.com/andela-ooranagwa/minly.git","ssh_url":"git@github.com:andela-ooranagwa/minly.git","clone_url":"https://github.com/andela-ooranagwa/minly.git","svn_url":"https://github.com/andela-ooranagwa/minly","homepage":null,"size":852,"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/andela-ooranagwa/minly/pulls/6"},"html":{"href":"https://github.com/andela-ooranagwa/minly/pull/6"},"issue":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/issues/6"},"comments":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/andela-ooranagwa/minly/statuses/78924d6762917c4d780c2c9a3348bb61631a343e"}}}}