Last active
December 17, 2015 18:19
-
-
Save minisu/5652141 to your computer and use it in GitHub Desktop.
ScalaTest
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 TableLogTest extends FunSpec with FxIntegrationTest { | |
startingState = ProjectLoadedWithoutAgentsState.STATE | |
"A TableLog" should "have no rows to begin with" in { | |
aFixedRateGenerator.connectedTo( aTableLog ) | |
tableRows should be (empty) | |
} | |
it should "display rows when getting input" in { | |
aFixedRateGenerator.connectedTo( aTableLog ) | |
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