<commit_before>require 'spec_helper'

describe "Dashboard Issues Feed" do
  describe "GET /issues" do
    let!(:user)     { create(:user) }
    let!(:project1) { create(:project) }
    let!(:project2) { create(:project) }
    let!(:issue1)   { create(:issue, author: user, assignee: user, project: project1) }
    let!(:issue2)   { create(:issue, author: user, assignee: user, project: project2) }<commit_msg>Fix dashboard atom feed<commit_after>require 'spec_helper'

describe "Dashboard Issues Feed" do
  describe "GET /issues" do
    let!(:user)     { create(:user) }
    let!(:project1) { create(:project) }
    let!(:project2) { create(:project) }
    let!(:issue1)   { create(:issue, author: user, assignee: user, project: project1) }
    let!(:issue2)   { create(:issue, author: user, assignee: user, project: project2) }

    before do
      project1.team << [user, :master]
      project2.team << [user, :master]
    end
{'fraction_non_alphanumeric': 0.15931108719052745, 'fraction_numerical': 0.015069967707212056, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2547916', 'n_tokens_mistral': 315, 'n_tokens_neox': 304, 'n_words': 78}