James Moger
2011-10-02 5c1ae2385f9e6c0c2050e5b0cb505d25bdbe27e0
tests/com/gitblit/tests/SyndicationUtilsTest.java
@@ -32,7 +32,8 @@
      Repository repository = GitBlitSuite.getHelloworldRepository();
      List<RevCommit> commits = JGitUtils.getRevLog(repository, 1);
      ByteArrayOutputStream os = new ByteArrayOutputStream();
      SyndicationUtils.toRSS("http://localhost", "Title", "Description", "Repository", commits, os);
      SyndicationUtils.toRSS("http://localhost", "Title", "Description", "Repository", commits,
            os);
      String feed = os.toString();
      os.close();
      assertTrue(feed.length() > 100);