Skip to content

Instantly share code, notes, and snippets.

@allenluce-zz
Created July 5, 2012 23:35
Show Gist options
  • Save allenluce-zz/3057140 to your computer and use it in GitHub Desktop.
Save allenluce-zz/3057140 to your computer and use it in GitHub Desktop.
beforeEach ->
@broadcasterMethods = jasmine.createSpy()
@messageBroadcaster =
strokeBegin: @broadcasterMethods
strokeContinue: @broadcasterMethods
strokeEnd: @broadcasterMethods
....
it "should return early", ->
expect(@broadcasterMethods).wasNotCalled()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment