{"action":"created","issue":{"url":"https://api.github.com/repos/EthanRBrown/web-development-with-node-and-express/issues/80","repository_url":"https://api.github.com/repos/EthanRBrown/web-development-with-node-and-express","labels_url":"https://api.github.com/repos/EthanRBrown/web-development-with-node-and-express/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/EthanRBrown/web-development-with-node-and-express/issues/80/comments","events_url":"https://api.github.com/repos/EthanRBrown/web-development-with-node-and-express/issues/80/events","html_url":"https://github.com/EthanRBrown/web-development-with-node-and-express/issues/80","id":169916458,"number":80,"title":"Zombie.js on book's version was deprecated ?","user":{"login":"fasdgoc","id":20616821,"avatar_url":"https://avatars.githubusercontent.com/u/20616821?v=3","gravatar_id":"","url":"https://api.github.com/users/fasdgoc","html_url":"https://github.com/fasdgoc","followers_url":"https://api.github.com/users/fasdgoc/followers","following_url":"https://api.github.com/users/fasdgoc/following{/other_user}","gists_url":"https://api.github.com/users/fasdgoc/gists{/gist_id}","starred_url":"https://api.github.com/users/fasdgoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fasdgoc/subscriptions","organizations_url":"https://api.github.com/users/fasdgoc/orgs","repos_url":"https://api.github.com/users/fasdgoc/repos","events_url":"https://api.github.com/users/fasdgoc/events{/privacy}","received_events_url":"https://api.github.com/users/fasdgoc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-08T12:58:00Z","updated_at":"2016-08-08T13:35:59Z","closed_at":"2016-08-08T13:35:59Z","body":"In this book, Zombie.js is used like below\r\n\r\n    var Browser = require('zombie'),\r\n        assert = require('chai').assert;\r\n\r\n    var browser;\r\n\r\n    suite('Cross-Page Tests', function () {\r\n      setup( function () {\r\n      browser = new Browser();\r\n    });\r\n\r\n    test('requesting a group rate from the hood river tour page' +\r\n      'should populate the referrer field', function ( done ) {\r\n        var referrer = 'http://localhost:3000/tours/hood-river';\r\n        browser.visit(referrer, function () {\r\n          browser.clickLink('.requestGroupRate', function () {\r\n            assert(browser.field('referrer').value === referrer);\r\n            done();\r\n          });\r\n        });\r\n    });\r\n    ....\r\n\r\nIt's result should be `2 passing 1 failing`, but the result is `3 failing`. \r\nMaybe there aren't syntax error of my source.\r\n\r\nSo, I saw the [documentation of zombie.js](https://github.com/assaf/zombie)\r\nThere are outstanding difference of syntax followed by\r\n\r\n    describe('submits form', function() {\r\n\r\n      before(function(done) {\r\n        browser\r\n          .fill('email',    'zombie@underworld.dead')\r\n          .fill('password', 'eat-the-living')\r\n          .pressButton('Sign Me Up!', done);\r\n      });\r\n\r\n      it('should be successful', function() {\r\n        browser.assert.success();\r\n      });\r\n    });\r\n\r\nIt looks like `jasmine`.\r\n"},"comment":{"url":"https://api.github.com/repos/EthanRBrown/web-development-with-node-and-express/issues/comments/238238207","html_url":"https://github.com/EthanRBrown/web-development-with-node-and-express/issues/80#issuecomment-238238207","issue_url":"https://api.github.com/repos/EthanRBrown/web-development-with-node-and-express/issues/80","id":238238207,"user":{"login":"fasdgoc","id":20616821,"avatar_url":"https://avatars.githubusercontent.com/u/20616821?v=3","gravatar_id":"","url":"https://api.github.com/users/fasdgoc","html_url":"https://github.com/fasdgoc","followers_url":"https://api.github.com/users/fasdgoc/followers","following_url":"https://api.github.com/users/fasdgoc/following{/other_user}","gists_url":"https://api.github.com/users/fasdgoc/gists{/gist_id}","starred_url":"https://api.github.com/users/fasdgoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fasdgoc/subscriptions","organizations_url":"https://api.github.com/users/fasdgoc/orgs","repos_url":"https://api.github.com/users/fasdgoc/repos","events_url":"https://api.github.com/users/fasdgoc/events{/privacy}","received_events_url":"https://api.github.com/users/fasdgoc/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T13:35:59Z","updated_at":"2016-08-08T13:35:59Z","body":"Had an typo sorry"}}
{"actor":{"display_login":"fasdgoc"}}