Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected some spelling mistakes in README.md #18 #19

Merged
merged 1 commit into from
Nov 29, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chai Spies

This is a addon plugin for the [chai](http://github.com/logicalparadox/chai) assertion library. It provides the
This is an addon plugin for the [chai](http://github.com/logicalparadox/chai) assertion library. It provides the
most basic function spy ability and tests. Though useful for small modules, you are probably going to want something
more robust. Check out [jack](http://github.com/vesln/jack) for a full featured mock/stub/spy assertion library for use with chai.

Expand All @@ -27,7 +27,7 @@ Include `chai-spies.js` after including `chai.js`.
## Plug In

If you are using `chai-spies` in the browser, there is nothing you need to do. It will detect `chai` in the global
namespace and automagically get used.
namespace and automatically get used.

If you are using node, here is a useful bit.

Expand Down Expand Up @@ -90,7 +90,7 @@ expect(spy).to.have.been.called();
spy.should.have.been.called();
```

Note that `called` can be used as a chaniable method.
Note that `called` can be used as a chainable method.

#### .with

Expand Down Expand Up @@ -125,7 +125,7 @@ spy.should.not.have.been.called.twice;

#### .exactly(n)

Assert that a spy has been called exactly n times.
Assert that a spy has been called exactly `n` times.

```js
expect(spy).to.have.been.called.exactly(3);
Expand Down Expand Up @@ -179,7 +179,7 @@ spy.should.not.have.been.called.below(3);

## Tests

Tests are written using [mocha](http://github.com/visionmedia/mocha) in the BDD itnerface.
Tests are written using [mocha](http://github.com/visionmedia/mocha) in the BDD interface.
Node tests can be executed using `make test`. Browser tests can be seen by opening `test/browser/index.html`.

## Contributors
Expand Down