Skip to content

Commit

Permalink
test: changed spy on changelog.generate() to stub, to avoid polluting…
Browse files Browse the repository at this point in the history
… following tests
  • Loading branch information
Johnny Estilles committed Apr 20, 2015
1 parent b07f28e commit 0aa3558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/git_changelog.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('git_changelog.js', function() {

before(function() {
sinon.spy(grunt, 'registerMultiTask');
sinon.spy(changelog, 'generate');
sinon.stub(changelog, 'generate');
});

after(function() {
Expand Down

0 comments on commit 0aa3558

Please sign in to comment.