Sha256: cf8d2bb50ae22819617dc2f6d9984933fde2e0f727f367ac20d82b4adccbf9d9
Contents?: true
Size: 510 Bytes
Versions: 16
Compression:
Stored size: 510 Bytes
Contents
require "spec_helper" require 'mail' module GhostInThePost describe Automatic do let(:email) { Mail.new(to: "foo@example.com", from: "me@example.com") } let(:instance) { AutoMailer.new(email) } describe "#mail" do it "should return an email" do expect(instance.mail).to be_kind_of(Mail::Message) end it "should return an email extended with GhostOnCommand and GhostOnDelivery" do expect(instance.mail).to be_kind_of(GhostOnDelivery) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems