Module: EmailHelpers

Defined in:
lib/testing/step_definitions/email_steps.rb

Overview

The Cucumber steps below are setup in this order.

Instance Method Summary collapse

Instance Method Details

#current_email_addressObject



29
30
31
32
33
34
# File 'lib/testing/step_definitions/email_steps.rb', line 29

def current_email_address
  # Replace with your a way to find your current email. e.g @current_user.email
  # last_email_address will return the last email address used by email spec to find an email.
  # Note that last_email_address will be reset after each Scenario.
  last_email_address || "[email protected]"
end