Add ERB to your ActionMailer fixtures
Easy:
def read_fixture(action)
template = ERB.new(
IO.readlines(
"#{FIXTURES_PATH}/sms_registrations_mailer/#{action}"
).join
)
template.result(binding)
end
Now you can <%= %> in your fixture to your heart’s content.