<commit_before>require File.dirname(__FILE__) + '/mail_forwarder'

describe MailForwarderBase do
  before do
    @msg = double(:msg, :subject => "Die Katze ist auf dem Tisch")
    @subject_prefix = "Forwarded Message: "
    @mail_forwarder = MailForwarderBase.new(@msg, :subject_prefix => @subject_prefix)
  end

  context "subject()" do
    context "with arg" do
      before do
        @s = 'Hi!'
      end

      it "should return arg" do
        expect(@mail_forwarder.subject(@s)).to eq(@s)
      end
    end

    context "without arg" do
      it "should return origin message subject with prefix" do
        expect(@mail_forwarder.subject).to eq(@subject_prefix + @msg.subject)
      end
    end
  end
end
end<commit_msg>Pending specs for MailForwarderAsAttachment<commit_after>require File.dirname(__FILE__) + '/mail_forwarder'

describe MailForwarderBase do
  before do
    @msg = double(:msg, :subject => "Die Katze ist auf dem Tisch")
    @subject_prefix = "Forwarded Message: "
    @mail_forwarder = MailForwarderBase.new(@msg, :subject_prefix => @subject_prefix)
  end

  context "subject()" do
    context "with arg" do
      before do
        @s = 'Hi!'
      end

      it "should return arg" do
        expect(@mail_forwarder.subject(@s)).to eq(@s)
      end
    end

    context "without arg" do
      it "should return origin message subject with prefix" do
        expect(@mail_forwarder.subject).to eq(@subject_prefix + @msg.subject)
      end
    end
  end
end

describe MailForwarderAsAttachment do
  context "send()" do
    it "should create new mail"
    it "should set headers and body"
    it "should add original mail as attachment"
  end
end
{'fraction_non_alphanumeric': 0.09700598802395209, 'fraction_numerical': 0.0, 'mean_word_length': 3.0558252427184467, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3673358', 'n_tokens_mistral': 508, 'n_tokens_neox': 497, 'n_words': 161}