package controllers;

import org.junit.Test;
import play.mvc.Result;

import static org.fest.assertions.Assertions.assertThat;
import static play.mvc.Http.Status.OK;
import static play.test.Helpers.*;
import play.db.DB;
import play.test.Helpers;

import static play.test.Helpers.fakeApplication;
import static play.test.Helpers.running;

public class ApplicationTest {
	
    @Test
    public void callIndex() {
    	running(fakeApplication(Helpers.inMemoryDatabase()), new Runnable() {
    		@Override
	        public void run() {
		        Result result = callAction(controllers.routes.ref.Application.index());
		        assertThat(status(result)).isEqualTo(OK);
		        assertThat(contentType(result)).isEqualTo("text/html");
		        assertThat(charset(result)).isEqualTo("utf-8");
		        assertThat(contentAsString(result)).contains("Powered by");
    		}
    	});
    }
}

@@ -778,26 +778,32 @@
 o(%22utf-8%22);%0A
-%09%09
+        
         asse
@@ -813,54 +813,36 @@
 hat(
-contentAsString(result)).contains(%22Powered by%22
+status(result)).isEqualTo(OK
 );%0A 

Remove 'Powered By' test from ApplicationTest.