# File lib/kwala/notifications/rss.rb, line 132
  def make_rss(context)
    rss = RSS::Rss.new("2.0")
    chan = RSS::Rss::Channel.new
    chan.title = chan.description = "Unit Test Results for #{context.project_name}"
    rss.channel = chan

    create_pstore(context).transaction(true) do |store|
      last_run_timestamp = store.fetch(:last_run_timestamp, 0)
      test_results = store.fetch(:prev_test_results, Hash.new)

      test_results.each do |key, res|
        chan.items << res.to_rss_item(last_run_timestamp)
      end
    end

    File.open(File.join(context.output_directory, RSS_FILE_NAME), "w") {|f| f.puts(rss.to_s) }
  end