search for: create_itemcr

Displaying 1 result from an estimated 1 matches for "create_itemcr".

Did you mean: create_item
2007 May 29
0
specs for ActionMailer
...te 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 part of message response = AdminNotify.create_itemcreated(@item, at expected.date) do_check_email_response(@expected, response) end end def read_fixture(action) IO.readlines("#{FIXTURES_PATH}/admin_notify...