Sha256: 439497b621c050cbfda3a3a38c00f7f4cc7fe030f61dfea3fc55e57bb889e14d
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
require "spec_helper" describe WorkOrderMailer do describe "close_notification_to_responsible" do let(:mail) { WorkOrderMailer.close_notification_to_responsible } it "renders the headers" do mail.subject.should eq("Close notification to responsible") mail.to.should eq(["to@example.org"]) mail.from.should eq(["from@example.com"]) end it "renders the body" do mail.body.encoded.should match("Hi") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
canmoia-0.0.2 | spec/dummy/spec/mailers/work_order_mailer_spec.rb~ |
canmoia-0.0.1 | spec/dummy/spec/mailers/work_order_mailer_spec.rb~ |