spec/unit/email/provider_spec.rb in imap-backup-2.0.0.rc3 vs spec/unit/email/provider_spec.rb in imap-backup-2.0.0.rc4

- old
+ new

@@ -26,9 +26,13 @@ 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 describe "#host" do it "returns host" do expect(subject.host).to eq("imap.gmail.com")