Sha256: 39d15ce3ea979bf33ac686ec73513647bf06a042a90a950cc8dbf510b826165d
Contents?: true
Size: 440 Bytes
Versions: 7
Compression:
Stored size: 440 Bytes
Contents
require "spec_helper" describe WorkOrderMailer do describe "close_notification_to_responsible" do let(:mail) { order = Fabricate :work_order WorkOrderMailer.close_notification_to_responsible order, order.responsible } it "renders the headers" do mail.subject.should eq("Close notification to responsible") end it "renders the body" do mail.body.encoded.should match("Hi") end end end
Version data entries
7 entries across 7 versions & 1 rubygems