Skip to content

Commit

Permalink
Add regression test for #19.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jan 9, 2013
1 parent 3d819a6 commit 5172b86
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/regressions.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
describe "Regressions", ->
specify "GH-19: functions with `proxy` properties", ->
func = ->
func.proxy = 5

spy = sinon.spy(func)
spy()

expect(-> spy.should.have.been.called).to.not.throw()

0 comments on commit 5172b86

Please sign in to comment.