{"action":"created","comment":{"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments/57721446","id":57721446,"diff_hunk":"@@ -13,23 +13,26 @@ Feature: Location Directory\n     When I visit the location directory\n     Then I can not see locations for other organisation\n \n+  @javascript\n   Scenario: Location pagination works as expected\n-    Given that a locations exists called \"Apples\" and \"Bamboo\"\n+    Given two locations exists called \"Apples\" and \"Bamboo\"","path":"features/location_directory.feature","position":7,"original_position":7,"commit_id":"cb062b7a6521fcd46f28f78a72301d7df07dc5a1","original_commit_id":"cb062b7a6521fcd46f28f78a72301d7df07dc5a1","user":{"login":"benlovell","id":41963,"avatar_url":"https://avatars.githubusercontent.com/u/41963?v=3","gravatar_id":"","url":"https://api.github.com/users/benlovell","html_url":"https://github.com/benlovell","followers_url":"https://api.github.com/users/benlovell/followers","following_url":"https://api.github.com/users/benlovell/following{/other_user}","gists_url":"https://api.github.com/users/benlovell/gists{/gist_id}","starred_url":"https://api.github.com/users/benlovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlovell/subscriptions","organizations_url":"https://api.github.com/users/benlovell/orgs","repos_url":"https://api.github.com/users/benlovell/repos","events_url":"https://api.github.com/users/benlovell/events{/privacy}","received_events_url":"https://api.github.com/users/benlovell/received_events","type":"User","site_admin":false},"body":"This could be clearer if it read `... locations exist ...`","created_at":"2016-03-29T13:23:40Z","updated_at":"2016-03-29T13:23:40Z","html_url":"https://github.com/guidance-guarantee-programme/location-register/pull/5#discussion_r57721446","pull_request_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments/57721446"},"html":{"href":"https://github.com/guidance-guarantee-programme/location-register/pull/5#discussion_r57721446"},"pull_request":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/5","id":64461146,"html_url":"https://github.com/guidance-guarantee-programme/location-register/pull/5","diff_url":"https://github.com/guidance-guarantee-programme/location-register/pull/5.diff","patch_url":"https://github.com/guidance-guarantee-programme/location-register/pull/5.patch","issue_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/5","number":5,"state":"open","locked":false,"title":"Hide and activate locations","user":{"login":"dwhenry","id":63736,"avatar_url":"https://avatars.githubusercontent.com/u/63736?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhenry","html_url":"https://github.com/dwhenry","followers_url":"https://api.github.com/users/dwhenry/followers","following_url":"https://api.github.com/users/dwhenry/following{/other_user}","gists_url":"https://api.github.com/users/dwhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhenry/subscriptions","organizations_url":"https://api.github.com/users/dwhenry/orgs","repos_url":"https://api.github.com/users/dwhenry/repos","events_url":"https://api.github.com/users/dwhenry/events{/privacy}","received_events_url":"https://api.github.com/users/dwhenry/received_events","type":"User","site_admin":false},"body":"A user should be able to hide and active locations from within the locations directory.\r\n\r\nThis functionality should work both with javascript enabled and without it.\r\n- to facilitate testing I have added a rake task `cucumber:javascript_disabled` which will run all tests flagged with `@javascript` using the `rack_test` driver. This task has been added as a default so will run on CI.\r\n\r\n\r\n","created_at":"2016-03-29T13:00:17Z","updated_at":"2016-03-29T13:23:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b79f9177dcbcf611232ca2d7c6109e312037fd3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/5/commits","review_comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/5/comments","review_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/5/comments","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/cb062b7a6521fcd46f28f78a72301d7df07dc5a1","head":{"label":"guidance-guarantee-programme:hide-and-activate-locations","ref":"hide-and-activate-locations","sha":"cb062b7a6521fcd46f28f78a72301d7df07dc5a1","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":52093950,"name":"location-register","full_name":"guidance-guarantee-programme/location-register","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/location-register","description":"","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/deployments","created_at":"2016-02-19T14:43:09Z","updated_at":"2016-02-24T15:20:49Z","pushed_at":"2016-03-29T13:06:13Z","git_url":"git://github.com/guidance-guarantee-programme/location-register.git","ssh_url":"git@github.com:guidance-guarantee-programme/location-register.git","clone_url":"https://github.com/guidance-guarantee-programme/location-register.git","svn_url":"https://github.com/guidance-guarantee-programme/location-register","homepage":null,"size":783,"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":"guidance-guarantee-programme:master","ref":"master","sha":"3fd658cd518e4b964a9b69239382c234d9c10c46","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":52093950,"name":"location-register","full_name":"guidance-guarantee-programme/location-register","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/location-register","description":"","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/deployments","created_at":"2016-02-19T14:43:09Z","updated_at":"2016-02-24T15:20:49Z","pushed_at":"2016-03-29T13:06:13Z","git_url":"git://github.com/guidance-guarantee-programme/location-register.git","ssh_url":"git@github.com:guidance-guarantee-programme/location-register.git","clone_url":"https://github.com/guidance-guarantee-programme/location-register.git","svn_url":"https://github.com/guidance-guarantee-programme/location-register","homepage":null,"size":783,"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/guidance-guarantee-programme/location-register/pulls/5"},"html":{"href":"https://github.com/guidance-guarantee-programme/location-register/pull/5"},"issue":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/5"},"comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/cb062b7a6521fcd46f28f78a72301d7df07dc5a1"}}}}