Skip to content

Commit

Permalink
[#615]
Browse files Browse the repository at this point in the history
  • Loading branch information
pepite committed Jan 1, 2013
1 parent 0888362 commit 661ab1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples-and-tests/validation/test/application/SomeTests.java
@@ -1,10 +1,10 @@
package application;

import org.junit.Test;
import play.test.ApplicationTest;
import play.test.FunctionalTest;
import play.mvc.Http.Response;

public class SomeTests extends ApplicationTest {
public class SomeTests extends FunctionalTest {

@Test
public void fakeTest() {
Expand All @@ -22,7 +22,7 @@ public void indexTest() {
// check the declared charset encoding
assertCharset(play.Play.defaultWebEncoding, response);
// check some content in the page. may also test a regexp
assertContentMatch("<h1>It works !</h1>", response);
assertContentMatch("<h1>Validation samples</h1>", response);
}
}

0 comments on commit 661ab1b

Please sign in to comment.