Skip to content

Commit

Permalink
Fixed dead link, repaired covarage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Kliment committed Jul 14, 2015
1 parent b5982b7 commit 5ca77fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -20,7 +20,7 @@ Dredd supports writing [hooks](http://dredd.readthedocs.org/en/latest/hooks/) gl

- [Ruby](http://dredd.readthedocs.org/en/latest/hooks-ruby/)
- [Python](http://dredd.readthedocs.org/en/latest/hooks-python/)
- [Node.js](http://dredd.readthedocs.org/en/latest/hooks-node/)
- [Node.js](http://dredd.readthedocs.org/en/latest/hooks-nodejs/)
- *Add your language here*

You're welcome to [write support for hooks in your language](http://dredd.readthedocs.org/en/latest/hooks-new-language/).
Expand Down
2 changes: 1 addition & 1 deletion scripts/cov
Expand Up @@ -17,6 +17,6 @@ cp -r ./test ./src-cov/test
cp ./package.json ./src-cov

# Excluding test breaking coveralls report :( Reporting to coveralls.io for further investigation
$MOCHA --reporter $REPORTER --recursive --timeout 120000 --compilers 'coffee:coffee-script/register' -i -g 'Using workaround for hooks in ruby' -i -g 'when using --server' -i -g 'Command line interface' -i -g 'Using workaround for hooks in python' './src-cov/test/**/*-test.coffee'
$MOCHA --reporter $REPORTER --recursive --timeout 120000 --compilers 'coffee:coffee-script/register' './src-cov/test/**/*-test.coffee'

rm -rf ./src-cov
6 changes: 6 additions & 0 deletions test/unit/add-hooks-test.coffee
Expand Up @@ -38,6 +38,12 @@ describe 'addHooks(runner, transactions, callback)', () ->
after () ->
loggerStub.transports.console.silent = false

beforeEach () ->
sinon.stub hooksStub.prototype, 'processExit'

afterEach () ->
hooksStub.prototype.processExit.restore()

describe 'constructor', ->
runner =
logs: ['item']
Expand Down

0 comments on commit 5ca77fd

Please sign in to comment.