James Moger
2011-10-02 19c634873b49dea8b49fc54ca393153f7eb0eb35
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);