Created
May 27, 2013 13:02
-
-
Save minisu/5656952 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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