<commit_before>describe("app.views.ConversationsInbox", function() {
  describe("initialize", function() {
    beforeEach(function() {
      spec.loadFixture("conversations_read");
      $("#conversation-new").removeClass("hidden");
      $("#conversation-show").addClass("hidden");
    });

    it("initializes the conversations form", function() {
      spyOn(app.views.ConversationsForm.prototype, "initialize");
      new app.views.ConversationsInbox();
      expect(app.views.ConversationsForm.prototype.initialize).toHaveBeenCalled();
    });

    it("call setupConversation", function() {
      spyOn(app.views.ConversationsInbox.prototype, "setupConversation");
      new app.views.ConversationsInbox();
      expect(app.views.ConversationsInbox.prototype.setupConversation).toHaveBeenCalled();
    });
  });

  describe("renderConversation", function() {
    beforeEach(function() {
      spec.loadFixture("conversations_read");
      $("#conversation-new").removeClass("hidden");
      $("#conversation-show").addClass("hidden");
      var conversations = $("#conversation-inbox .stream-element");
      conversations.removeClass("selected");<commit_msg>Fix spelling in conversations inbox view spec<commit_after>describe("app.views.ConversationsInbox", function() {
  describe("initialize", function() {
    beforeEach(function() {
      spec.loadFixture("conversations_read");
      $("#conversation-new").removeClass("hidden");
      $("#conversation-show").addClass("hidden");
    });

    it("initializes the conversations form", function() {
      spyOn(app.views.ConversationsForm.prototype, "initialize");
      new app.views.ConversationsInbox();
      expect(app.views.ConversationsForm.prototype.initialize).toHaveBeenCalled();
    });

    it("calls setupConversation", function() {
      spyOn(app.views.ConversationsInbox.prototype, "setupConversation");
      new app.views.ConversationsInbox();
      expect(app.views.ConversationsInbox.prototype.setupConversation).toHaveBeenCalled();
    });
  });

  describe("renderConversation", function() {
    beforeEach(function() {
      spec.loadFixture("conversations_read");
      $("#conversation-new").removeClass("hidden");
      $("#conversation-show").addClass("hidden");
      var conversations = $("#conversation-inbox .stream-element");
      conversations.removeClass("selected");
{'fraction_non_alphanumeric': 0.16010165184243966, 'fraction_numerical': 0.0, 'mean_word_length': 4.664268585131895, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7389647', 'n_tokens_mistral': 637, 'n_tokens_neox': 653, 'n_words': 79}