{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8886","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8886/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8886/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8886/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/8886","id":157835417,"number":8886,"title":"Add test to check .endsWith() in Confirm Ending","user":{"login":"erictleung","id":2754821,"avatar_url":"https://avatars.githubusercontent.com/u/2754821?v=3","gravatar_id":"","url":"https://api.github.com/users/erictleung","html_url":"https://github.com/erictleung","followers_url":"https://api.github.com/users/erictleung/followers","following_url":"https://api.github.com/users/erictleung/following{/other_user}","gists_url":"https://api.github.com/users/erictleung/gists{/gist_id}","starred_url":"https://api.github.com/users/erictleung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictleung/subscriptions","organizations_url":"https://api.github.com/users/erictleung/orgs","repos_url":"https://api.github.com/users/erictleung/repos","events_url":"https://api.github.com/users/erictleung/events{/privacy}","received_events_url":"https://api.github.com/users/erictleung/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/labels/QA","name":"QA","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"atjonathan","id":11198912,"avatar_url":"https://avatars.githubusercontent.com/u/11198912?v=3","gravatar_id":"","url":"https://api.github.com/users/atjonathan","html_url":"https://github.com/atjonathan","followers_url":"https://api.github.com/users/atjonathan/followers","following_url":"https://api.github.com/users/atjonathan/following{/other_user}","gists_url":"https://api.github.com/users/atjonathan/gists{/gist_id}","starred_url":"https://api.github.com/users/atjonathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atjonathan/subscriptions","organizations_url":"https://api.github.com/users/atjonathan/orgs","repos_url":"https://api.github.com/users/atjonathan/repos","events_url":"https://api.github.com/users/atjonathan/events{/privacy}","received_events_url":"https://api.github.com/users/atjonathan/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-06-01T06:49:02Z","updated_at":"2016-06-22T06:12:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/8886","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/8886","diff_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/8886.diff","patch_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/8886.patch"},"body":"<!-- FreeCodeCamp Pull Request Template -->\r\n\r\n<!-- IMPORTANT Please review https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/CONTRIBUTING.md for detailed contributing guidelines -->\r\n<!-- Help with PRs can be found at https://gitter.im/FreeCodeCamp/HelpContributors -->\r\n<!-- Make sure that your PR is not a duplicate -->\r\n\r\n#### Pre-Submission Checklist\r\n<!-- Go over all points below, and put an `x` in all the boxes that apply. -->\r\n<!-- All points should be checked, otherwise, read the CONTRIBUTING guidelines from above-->\r\n<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] Your pull request targets the `staging` branch of FreeCodeCamp.\r\n- [x] Branch starts with either `fix/`, `feature/`, or `translate/` (e.g. `fix/signin-issue`)\r\n- [x] You have only one commit (if not, [squash](https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/git-rebase#squashing-multiple-commits-into-one) them into one commit).\r\n- [x] All new and existing tests pass the command `npm run test-challenges`. Use `git commit --amend` to amend any fixes.\r\n\r\n#### Type of Change\r\n<!-- What type of change does your code introduce? Put an `x` in the box that applies. -->\r\n- [x] Small bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds new functionality)\r\n- [ ] Breaking change (fix or feature that would change existing functionality)\r\n- [ ] Add new translation (feature adding new translations)\r\n\r\n#### Checklist:\r\n<!-- Go over all points below, and put an `x` in all the boxes that apply. -->\r\n<!-- If you're unsure about any of these, don't hesitate to ask in the Help Contributors room linked above. We're here to help! -->\r\n- [x] Tested changes locally.\r\n- [x] Closes currently open issue (replace XXXX with an issue no): Closes #4764\r\n\r\n#### Description\r\n<!-- Describe your changes in detail -->\r\n\r\nAdd test to make sure user doesn't use ES2015's `.endsWith()` method to solve the challenge.\r\n\r\nI couldn't come up with a better test message. I wanted to be transparent on what the test is actually testing (as with any test) but if I wrote it anyway else, I felt like people might question and be confused by the vagueness of the message. If anyone has a better test message, I'm open to ideas.\r\n\r\n#### Screenshot\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2754821/16256197/180ad894-3805-11e6-9a00-bfdce7f5de7c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/227652818","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/8886#issuecomment-227652818","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8886","id":227652818,"user":{"login":"camperbot","id":13561988,"avatar_url":"https://avatars.githubusercontent.com/u/13561988?v=3","gravatar_id":"","url":"https://api.github.com/users/camperbot","html_url":"https://github.com/camperbot","followers_url":"https://api.github.com/users/camperbot/followers","following_url":"https://api.github.com/users/camperbot/following{/other_user}","gists_url":"https://api.github.com/users/camperbot/gists{/gist_id}","starred_url":"https://api.github.com/users/camperbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camperbot/subscriptions","organizations_url":"https://api.github.com/users/camperbot/orgs","repos_url":"https://api.github.com/users/camperbot/repos","events_url":"https://api.github.com/users/camperbot/events{/privacy}","received_events_url":"https://api.github.com/users/camperbot/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T06:12:01Z","updated_at":"2016-06-22T06:12:01Z","body":"@erictleung updated the pull request."}}
{"actor":{"display_login":"camperbot"}}