James Moger
2011-10-23 d03aff630cbcd49f02d51f08ec59ac3cf7f41d0e
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);