Skip to content

Commit ebf148f

Browse files
committed
simple integration test added
1 parent f151532 commit ebf148f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

test/IntegrationSpec.scala

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package test
2+
3+
import org.specs2.mutable._
4+
5+
import play.api.test.Helpers._
6+
import play.api.test.TestServer
7+
8+
class IntegrationSpec extends Specification {
9+
10+
"Application" should {
11+
12+
"work from within a browser" in {
13+
running(TestServer(3333), FIREFOX) {
14+
browser =>
15+
browser.goTo("http://localhost:3333/")
16+
browser.pageSource must contain("BirdWatch")
17+
}
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)