Displaying 1 result from an estimated 1 matches for "reviewramp".
2007 May 29
0
specs for ActionMailer
...ted.mime_version = ''1.0''
@expected.from = ''jonathan at linowes.com''
@expected.to = ''linojon at gmail.com''
end
it "should generate correct ''create notify'' message" do
@expected.subject = ''ReviewRamp: itemcreated''
@expected.body = read_fixture(''itemcreated'')
@expected.date = Time.now
# (asserting mimeparts is too hard )
#@expected.encoded.should == AdminNotify.create_itemcreated
(@item, at expected.date).encoded
# just check contents p...