@@ -0,0 +1,1108 @@
+package integration;%0A%0A%0Aimport models.Donation;%0Aimport models.News;%0Aimport models.Project;%0Aimport models.User;%0Aimport org.junit.Test;%0Aimport org.openqa.selenium.By;%0A%0Aimport static org.fest.assertions.Assertions.assertThat;%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0A%0Apublic class NewNewsTest %7B%0A    @Test%0A    public void NewNewsTestTest()%7B%0A        DatabaseTest.runInFilledApp(%22testFiles/data1.yml%22, browser -%3E %7B%0A%0A            browser.goTo(%22http://localhost:3333/projects/2%22);%0A            browser.getDriver().findElement(By.name(%22title%22)).sendKeys(%22Test News%22);%0A            browser.getDriver().findElement(By.name(%22description%22)).sendKeys(%22Hallo Welt%22);%0A            browser.getDriver().findElement(By.name(%22imageUrl%22)).sendKeys(%22http://www.bugatti.com/pages/1405/bildspalte/vorschaubilder_5.jpg%22);%0A            browser.getDriver().findElement(By.id(%22news-submit%22)).click();%0A%0A            Project project = Project.find.byId(2l);%0A            News news = project.getNews().get(0);%0A            assertThat(news.getTitle().contentEquals(%22Test News%22));%0A%0A        %7D);%0A    %7D%0A%0A%7D%0A

add News Test