Skip to content

Commit

Permalink
fix failing snapshot note test
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mann committed Sep 16, 2015
1 parent 7754ef8 commit 3d8d357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/client/api/cypress/log_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ describe "$Cypress.Log API", ->

it "adds a note when snapshot is missing", ->
@log.set("name", "foo")
@log.set("instrument", "command")
@log.set("onConsole", -> {})
@log.wrapOnConsole()
expect(@log.attributes.onConsole().Snapshot).to.eq "The snapshot is missing. Displaying current state of the DOM."
Expand Down

0 comments on commit 3d8d357

Please sign in to comment.