Sha256: e7c876dc6f797182f92eff7c4b203ba2a17d83b9456b89ceb7c9c7835d37ee2d
Contents?: true
Size: 564 Bytes
Versions: 13
Compression:
Stored size: 564 Bytes
Contents
import org.specs2.mutable._ import org.specs2.runner._ import org.junit.runner._ import play.api.test._ import play.api.test.Helpers._ /** * add your integration spec here. * An integration test will fire up a whole play application in a real (or headless) browser */ @RunWith(classOf[JUnitRunner]) class IntegrationSpec extends Specification { "Application" should { "work from within a browser" in new WithBrowser { browser.goTo("http://localhost:" + port) browser.pageSource must contain("Your new application is ready.") } } }
Version data entries
13 entries across 13 versions & 1 rubygems