Then an e-mail should have been sent with:
"""
From: foo@bar.com
To: bar@baz.com
Reply-To: qux@bam.com
"""
Then an e-mail should have been sent with:
"""
From: foo@bar.com
To: bar@baz.com
Message body goes here!
"""
Always be testing.
FEATURE=tests/rails-3.2/features/shared/email_steps.feature rake tests:run
Use three single quotes:
Then the following multiline step should succeed:
"""
Then an email should have been sent with:
'''
From: from@example.com
To: to@example.com
'''
"""