views:

33

answers:

0

Consider the following example:

Scenario: Create New Account (Everything cool)
Given I am not authenticated for "wellesley"
When I go to register for "wellesley"
And I fill in "Name" with "bill"
And I fill in "Email" with "[email protected]"
And I fill in "Password" with "please"
And I fill in "Password Confirmation" with "please"
And I press "Sign up"
And "[email protected]" should receive an email
And I should see "A confirmation email has been sent"
When I open the email
Then I should see "Confirm my account" in the email body
When I follow "Confirm my account" in the email
Then I should see "Your account was successfully confirmed. You are now signed in."

Everything works except the And I should see "A confirmation email has been sent"

I get an ExpectationNotMetError for it's comparing it to a blank screen (if I do And show me the screen its just a blank screen).

Any ideas why it is showing a blank screen?

Thanks!