Permalink
Browse files

Changing browser.coffee to expect password.txt in the same place srv.…

…rb does

Also updated the documentation, including a couple typos.
  • Loading branch information...
e28eta committed Feb 14, 2013
1 parent 5e83165 commit f68b4d079e4a0cd0924bafff80c3be2422cd96d1
Showing with 4 additions and 4 deletions.
  1. +3 −3 levels/6/README.md
  2. +1 −1 levels/6/browser.coffee
View
@@ -27,7 +27,7 @@ application so that other people can run their own Streamer instances.
## level07-password-holder
-We used [CapserJS](http://casperjs.org/) on top of
+We used [CasperJS](http://casperjs.org/) on top of
[PhantomJS](http://phantomjs.org/) to power the **level07-password-holder**
-user. Run `capserjs browser.coffee http://localhost:4567` to start it up. It
-expects to find the password from the filesystem `public_html/password.txt`.
+user. Run `casperjs browser.coffee http://localhost:4567` to start it up. It
+expects to find the password from the filesystem `password.txt`.
View
@@ -25,7 +25,7 @@ if not casper.cli.has(0)
console.log 'Usage: browser.coffee <url to visit>'
casper.exit 1
-password = fs.open('public_html/password.txt', 'r').read().trim()
+password = fs.open('password.txt', 'r').read().trim()
page_address = casper.cli.get(0)
console.log "Page address is: #{page_address}"

0 comments on commit f68b4d0

Please sign in to comment.