{"action":"created","issue":{"url":"https://api.github.com/repos/paircolumbus/Capybara101/issues/11","labels_url":"https://api.github.com/repos/paircolumbus/Capybara101/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/paircolumbus/Capybara101/issues/11/comments","events_url":"https://api.github.com/repos/paircolumbus/Capybara101/issues/11/events","html_url":"https://github.com/paircolumbus/Capybara101/pull/11","id":109840681,"number":11,"title":"Attempt to get the Capybara testing working.","user":{"login":"gwadej","id":73849,"avatar_url":"https://avatars.githubusercontent.com/u/73849?v=3","gravatar_id":"","url":"https://api.github.com/users/gwadej","html_url":"https://github.com/gwadej","followers_url":"https://api.github.com/users/gwadej/followers","following_url":"https://api.github.com/users/gwadej/following{/other_user}","gists_url":"https://api.github.com/users/gwadej/gists{/gist_id}","starred_url":"https://api.github.com/users/gwadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwadej/subscriptions","organizations_url":"https://api.github.com/users/gwadej/orgs","repos_url":"https://api.github.com/users/gwadej/repos","events_url":"https://api.github.com/users/gwadej/events{/privacy}","received_events_url":"https://api.github.com/users/gwadej/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-05T16:53:30Z","updated_at":"2015-10-06T18:52:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paircolumbus/Capybara101/pulls/11","html_url":"https://github.com/paircolumbus/Capybara101/pull/11","diff_url":"https://github.com/paircolumbus/Capybara101/pull/11.diff","patch_url":"https://github.com/paircolumbus/Capybara101/pull/11.patch"},"body":"It mostly works, but I have two things I don't understand.\r\n\r\n1. On the 'secret page', the username does not show up in the Capybara\r\ntest. With further research, it appears that the session information is\r\nbeing lost somewhere. Maybe the Capybara/Cucumber thing is not properly\r\nsaving resources.\r\n\r\nSearching on-line shows that this has been a recurring problem for\r\nyears.\r\n\r\n2. Can't fail a login. On the browser, the username and password have to\r\nmatch in order to login. However, in the Capybara/Cucumber tests the\r\nsystem successfully logs in no matter what username/password pair I\r\nsend.\r\n\r\n@chivygab @jaybobo Code review please."},"comment":{"url":"https://api.github.com/repos/paircolumbus/Capybara101/issues/comments/145963898","html_url":"https://github.com/paircolumbus/Capybara101/pull/11#issuecomment-145963898","issue_url":"https://api.github.com/repos/paircolumbus/Capybara101/issues/11","id":145963898,"user":{"login":"gwadej","id":73849,"avatar_url":"https://avatars.githubusercontent.com/u/73849?v=3","gravatar_id":"","url":"https://api.github.com/users/gwadej","html_url":"https://github.com/gwadej","followers_url":"https://api.github.com/users/gwadej/followers","following_url":"https://api.github.com/users/gwadej/following{/other_user}","gists_url":"https://api.github.com/users/gwadej/gists{/gist_id}","starred_url":"https://api.github.com/users/gwadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwadej/subscriptions","organizations_url":"https://api.github.com/users/gwadej/orgs","repos_url":"https://api.github.com/users/gwadej/repos","events_url":"https://api.github.com/users/gwadej/events{/privacy}","received_events_url":"https://api.github.com/users/gwadej/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T18:52:40Z","updated_at":"2015-10-06T18:52:40Z","body":"I made a discovery.\r\nThe problem was not the session. There was no input going into the fields.\r\nUnfortunately, the app did not check for empty fields.\r\n\r\nIf I had understood Capybara better, I would have seen this. (Cargo culting strikes again.)\r\nIt's fixed now."}}