{"action":"created","comment":{"url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/comments/25594745","id":25594745,"diff_hunk":"@@ -48,7 +48,60 @@ Feature: Find an appointment\n       | Smith    | ith     | 1                        |\n       | Smith    | mit     | 1                        |\n \n-  Scenario: Search by email\n+  Scenario: Search by full email\n+    Given I am on the call centre home screen\n+    And there is an appointment for customer with email <email>\n+    When I search for an appointment by <email>\n+    Then I should see <number of search results>\n+  \n+  Examples:\n+    | email               | number of search results |\n+    | j.smith@example.com | 1                        |\n+    | j.bloggs@123.com    | 1                        |\n+  \n+  \n   Scenario: Search by partial email\n+    Given I am on the call centre home screen\n+    And there is an appointment for customer with email <customer>\n+    When I search for an appointment by <email>\n+    Then I should see <number of search results>\n+    \n+  Examples:\n+    | customer              | email      | number of search results |\n+    | j.smith@example.com   | ith@examp  | 1                        |\n+    | j.bloggs@123.com      | j.bloggs@  | 1                        |\n+  \n+  \n   Scenario: Search by surname and email\n+    Given I am on the call centre home screen\n+    And there is an appointment for customer with surname <customer> and email <email>\n+    When I search for appointment by <surname> and <email>\n+    Then I should see <number of search results>\n+    \n+  Examples:\n+    | customer | email               | number of search results |\n+    | Smith    | j.smith@example.com | 1                        |\n+    | Bloggs   | j.bloggs@123.com    | 1                        |\n+  \n   Scenario: Search by surname and date\n+    Given I am on the call centre home screen\n+    And there is an appointment for customer with surname <customer> at date <date>\n+    When I search for an appointment by <surname> and <date>\n+    Then I should see <number of search results>\n+    \n+  Examples:\n+    | customer | date          | number of search results |\n+    | Smith    | 2 March 2015  | 1                        |\n+    | Bloggs   | 16 April 2015 | 1                        |\n+  ","path":"call_centre/find.feature","position":50,"original_position":50,"commit_id":"ad2e5fa5b6c087f62376677bae8e1de0a8fb883a","original_commit_id":"ad2e5fa5b6c087f62376677bae8e1de0a8fb883a","user":{"login":"jiannis","id":966819,"avatar_url":"https://avatars.githubusercontent.com/u/966819?v=3","gravatar_id":"","url":"https://api.github.com/users/jiannis","html_url":"https://github.com/jiannis","followers_url":"https://api.github.com/users/jiannis/followers","following_url":"https://api.github.com/users/jiannis/following{/other_user}","gists_url":"https://api.github.com/users/jiannis/gists{/gist_id}","starred_url":"https://api.github.com/users/jiannis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiannis/subscriptions","organizations_url":"https://api.github.com/users/jiannis/orgs","repos_url":"https://api.github.com/users/jiannis/repos","events_url":"https://api.github.com/users/jiannis/events{/privacy}","received_events_url":"https://api.github.com/users/jiannis/received_events","type":"User","site_admin":false},"body":"What happens if I search for an appointment by customer surname and a date that the customer does not have an appointment on?","created_at":"2015-03-02T12:28:09Z","updated_at":"2015-03-02T12:28:09Z","html_url":"https://github.com/guidance-guarantee-programme/booking/pull/1#discussion_r25594745","pull_request_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/comments/25594745"},"html":{"href":"https://github.com/guidance-guarantee-programme/booking/pull/1#discussion_r25594745"},"pull_request":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/1","id":30277935,"html_url":"https://github.com/guidance-guarantee-programme/booking/pull/1","diff_url":"https://github.com/guidance-guarantee-programme/booking/pull/1.diff","patch_url":"https://github.com/guidance-guarantee-programme/booking/pull/1.patch","issue_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/1","number":1,"state":"open","locked":false,"title":"Updated find an appointment scenarios","user":{"login":"lizfarmer","id":11233659,"avatar_url":"https://avatars.githubusercontent.com/u/11233659?v=3","gravatar_id":"","url":"https://api.github.com/users/lizfarmer","html_url":"https://github.com/lizfarmer","followers_url":"https://api.github.com/users/lizfarmer/followers","following_url":"https://api.github.com/users/lizfarmer/following{/other_user}","gists_url":"https://api.github.com/users/lizfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/lizfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizfarmer/subscriptions","organizations_url":"https://api.github.com/users/lizfarmer/orgs","repos_url":"https://api.github.com/users/lizfarmer/repos","events_url":"https://api.github.com/users/lizfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/lizfarmer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-02T12:02:10Z","updated_at":"2015-03-02T12:28:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81ffcf8ba7b6a53e368a9c258b1a743a3c9ef4d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/1/commits","review_comments_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/1/comments","review_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/1/comments","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/statuses/ad2e5fa5b6c087f62376677bae8e1de0a8fb883a","head":{"label":"guidance-guarantee-programme:lizfarmer-patch-1","ref":"lizfarmer-patch-1","sha":"ad2e5fa5b6c087f62376677bae8e1de0a8fb883a","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":31381404,"name":"booking","full_name":"guidance-guarantee-programme/booking","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/booking","description":"Booking system","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/booking","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/releases{/id}","created_at":"2015-02-26T18:16:06Z","updated_at":"2015-02-26T18:16:06Z","pushed_at":"2015-03-02T11:03:56Z","git_url":"git://github.com/guidance-guarantee-programme/booking.git","ssh_url":"git@github.com:guidance-guarantee-programme/booking.git","clone_url":"https://github.com/guidance-guarantee-programme/booking.git","svn_url":"https://github.com/guidance-guarantee-programme/booking","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":"guidance-guarantee-programme:master","ref":"master","sha":"3425e6774781c783869f910dc3e97133ec4f5143","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":31381404,"name":"booking","full_name":"guidance-guarantee-programme/booking","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/booking","description":"Booking system","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/booking","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/booking/releases{/id}","created_at":"2015-02-26T18:16:06Z","updated_at":"2015-02-26T18:16:06Z","pushed_at":"2015-03-02T11:03:56Z","git_url":"git://github.com/guidance-guarantee-programme/booking.git","ssh_url":"git@github.com:guidance-guarantee-programme/booking.git","clone_url":"https://github.com/guidance-guarantee-programme/booking.git","svn_url":"https://github.com/guidance-guarantee-programme/booking","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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/guidance-guarantee-programme/booking/pulls/1"},"html":{"href":"https://github.com/guidance-guarantee-programme/booking/pull/1"},"issue":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/1"},"comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/guidance-guarantee-programme/booking/statuses/ad2e5fa5b6c087f62376677bae8e1de0a8fb883a"}}}}