Skip to content

Instantly share code, notes, and snippets.

@rissem
Created January 28, 2013 16:13
Show Gist options
  • Save rissem/4656839 to your computer and use it in GitHub Desktop.
Save rissem/4656839 to your computer and use it in GitHub Desktop.
@wait 2000, ->
@test.assertExists "#projectName"
projectNameHTML = @getHTML "#projectName"
projectNameMatches = /new-project/.test(projectNameHTML)
@test.assert projectNameMatches, "project name matches fake-project"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment