<commit_before># encoding: utf-8

require "spec_helper"

describe BoletinMailer do
  describe "envío boletín" do
    subject do
      BoletinMailer.envio Factory(:boletin,
        destinatarios: "Pedro <<EMAIL>>, Julián <<EMAIL>>",
        archivo: File.new("spec/images/example.pdf"),
        titulo: "Aventuras nuevas")
    end

    its(:from) { should == ["<EMAIL>"] }
    its(:subject) { should == "Aventuras nuevas" }
    its(:bcc) { should == %w(<EMAIL> <EMAIL>) }<commit_msg>Hemos cambiado la dirección remite.<commit_after># encoding: utf-8

require "spec_helper"

describe BoletinMailer do
  describe "envío boletín" do
    subject do
      BoletinMailer.envio Factory(:boletin,
        destinatarios: "Pedro <<EMAIL>>, Julián <<EMAIL>>",
        archivo: File.new("spec/images/example.pdf"),
        titulo: "Aventuras nuevas")
    end

    its(:from) { should == ["<EMAIL>"] }
    its(:subject) { should == "Aventuras nuevas" }
    its(:bcc) { should == %w(<EMAIL> <EMAIL>) }
{'fraction_non_alphanumeric': 0.15720081135902636, 'fraction_numerical': 0.002028397565922921, 'mean_word_length': 3.4863636363636363, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '6183506', 'n_tokens_mistral': 356, 'n_tokens_neox': 351, 'n_words': 80}