File: transfer_encoding_spec.rb

package info (click to toggle)
ruby-mail 2.7.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,732 kB
  • sloc: ruby: 71,628; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true
require 'spec_helper'

describe Mail::Encodings::TransferEncoding do
  it "accepts blank message_encoding" do
    expect(described_class.negotiate('', '7bit', '')).to eq Mail::Encodings::SevenBit
    expect(described_class.negotiate('', '8bit', '')).to eq Mail::Encodings::EightBit
  end
end