Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
Fix typos in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonewebdesign committed Mar 23, 2015
1 parent 43c4b82 commit 110cce4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -180,7 +180,7 @@ do this:
```js
Browser.localhost('example.com', 3000)
browser.visit('/path', function() {
assert(broswer.location.href == 'http://example.com/path');
assert(browser.location.href == 'http://example.com/path');
});
```

Expand Down Expand Up @@ -229,7 +229,7 @@ Browser.extend(function(browser) {

To make life easier, Zombie introduces a set of convenience assertions that you
can access directly from the browser object. For example, to check that a page
loaded successfuly:
loaded successfully:

```js
browser.assert.success();
Expand Down Expand Up @@ -307,7 +307,7 @@ The identifier is either the name of a cookie, or an object with the property
`name` and the optional properties `domain` and `path`.

```js
browser.assert.cookie('flash', 'Missing email addres');
browser.assert.cookie('flash', 'Missing email address');
```

#### assert.element(selection, message)
Expand Down Expand Up @@ -471,7 +471,7 @@ For example:
```js
browser.assert.url('http://localhost/foo/bar');
browser.assert.url(new RegExp('^http://localhost/foo/\\w+$'));
browser.assert.url({ pathame: '/foo/bar' });
browser.assert.url({ pathname: '/foo/bar' });
browser.assert.url({ query: { name: 'joedoe' } });
```

Expand Down Expand Up @@ -958,7 +958,7 @@ request object and a callback, and must call that callback with one of:

- No arguments to pass control to the next handler
- An error to stop processing and return that error
- `null` and the response objec to return that response
- `null` and the response object to return that response

Functions with three arguments deal with responses. They are called with the
request object, response object and a callback, and must call that callback with
Expand Down

0 comments on commit 110cce4

Please sign in to comment.