Created
November 19, 2014 16:34
-
-
Save almirage/740169b5ae2de5ed377b 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
package almirage | |
import org.scalatest.selenium._ | |
import org.scalatest._ | |
import selenium._ | |
import org.openqa.selenium._ | |
import htmlunit._ | |
class IntegrationSpec extends FlatSpec with ShouldMatchers with WebBrowser { | |
implicit val webDriver: WebDriver = new HtmlUnitDriver | |
val host = "http://localhost:9000/" | |
"The blog app home page" should "have the correct title" in { | |
go to (host + "index.html") | |
pageTitle should be ("Awesome Blog") | |
} | |
} |
gakuzzzz
commented
Nov 19, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment