Sha256: 7c72d594ef427572caabb56479f664e573212402757a8f9429ee6504ee2643d7

Contents?: true

Size: 251 Bytes

Versions: 11

Compression:

Stored size: 251 Bytes

Contents

describe Email::Provider::Base do
  describe "#options" do
    it "returns options" do
      expect(subject.options).to be_a(Hash)
    end

    it "forces TLSv1_2" do
      expect(subject.options[:ssl][:ssl_version]).to eq(:TLSv1_2)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
imap-backup-6.0.0.rc2 spec/unit/email/provider/base_spec.rb
imap-backup-5.2.0 spec/unit/email/provider/base_spec.rb
imap-backup-5.1.0 spec/unit/email/provider/base_spec.rb
imap-backup-5.0.0 spec/unit/email/provider/base_spec.rb
imap-backup-4.2.2 spec/unit/email/provider/base_spec.rb
imap-backup-4.2.1 spec/unit/email/provider/base_spec.rb
imap-backup-4.2.0 spec/unit/email/provider/base_spec.rb
imap-backup-4.1.2 spec/unit/email/provider/base_spec.rb
imap-backup-4.1.1 spec/unit/email/provider/base_spec.rb
imap-backup-4.0.7 spec/unit/email/provider/base_spec.rb
imap-backup-4.0.6 spec/unit/email/provider/base_spec.rb