Skip to content

Commit

Permalink
Updated README and package.json to reflect changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevicency committed Aug 2, 2013
1 parent 5719376 commit 5d2005e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 12 deletions.
3 changes: 2 additions & 1 deletion LICENSE
@@ -1,5 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013 Kevin Mees
Copyright (c) 2013 Greg Thornton

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -18,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
26 changes: 22 additions & 4 deletions README.md
@@ -1,8 +1,11 @@
karma-chai
==========
karma-sinon-chai
================

[Chai](http://chaijs.com) for [Karma](http://karma-runner.github.io)
* [Sinon](http://sinonjs.org/)
* [Chai](http://chaijs.com)
* [Sinon-Chai](https://github.com/domenic/sinon-chai)

for [Karma](http://karma-runner.github.io)

Requirements
------------
Expand Down Expand Up @@ -56,4 +59,19 @@ describe 'karma tests with chai', ->
it 'should expose the Chai should property', ->
1.should.not.equal 2
should.exist 123
```
```

Sinon and Chai matchers for Sinon are also available:

```coffee
describe 'karma tests with sinon', ->

it 'can spy on objects', ->
foo = bar: ->
sinon.spy foo, 'bar'

foo.bar 'baz'

foo.bar.should.have.been.calledWith 'baz'
```

20 changes: 13 additions & 7 deletions package.json
@@ -1,25 +1,31 @@
{
"name": "karma-chai",
"description": "Chai for Karma",
"name": "karma-sinon-chai",
"description": "Sinon and Chai for Karma",
"keywords": [
"karma",
"chai",
"sinon",
"mocha",
"should"
],
"version": "0.0.0",
"author": "Greg Thornton <xdissent@me.com> (http://xdissent.com)",
"author": "Kevin Mees <kev.mees@gmail.com>",
"main": "./index.js",
"license": "MIT",
"homepage": "https://github.com/xdissent/karma-chai",
"homepage": "https://github.com/kmees/karma-sinon-chai",
"repository": {
"type": "git",
"url": "https://github.com/xdissent/karma-chai.git"
"url": "https://github.com/kmees/karma-sinon-chai.git"
},
"bugs": {
"url": "https://github.com/xdissent/karma-chai/issues"
"url": "https://github.com/kmees/karma-sinon-chai/issues"
},
"contributors": [
"Greg Thornton <xdissent@me.com>"
],
"dependencies": {
"chai": "~1.6.1"
"chai": "~1.6.1",
"sinon": "~1.7.3",
"sinon-chai": "~2.4.0"
}
}

0 comments on commit 5d2005e

Please sign in to comment.