Skip to content

Instantly share code, notes, and snippets.

@minisu
Created May 27, 2013 13:02
Show Gist options
  • Save minisu/5656952 to your computer and use it in GitHub Desktop.
Save minisu/5656952 to your computer and use it in GitHub Desktop.
class TableLogTestScala extends FlatSpec with ShouldMatchers with ComponentControl {
"A TableLog" should "have no rows initially" in {
create aTableLog
tableRows should be (empty)
}
it should "display rows when getting input" in {
connect aTableLog to aFixedRateGenerator
runTestFor( 3 seconds )
tableRows should not be (empty)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment