Topic: How to have variable in fixture for testing in ActionMailer
I am new to Ruby and for Testing in Ruby too.
This is my fixture data
The fields(email content)
are supposed to have some string and some variables together like
"Dear [:buyername], This is a payment remainder for the amount [:amount], ....."
These variables buyername and amount will get assigned when my test script is running from another fixture data.
Can someone help to write the fixture for this situation.
needed help very urgently