James Moger
2011-09-14 8f73a7cc630bb61d088c7cdad30a6708870184ee
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);