Mackenzie-Frey / brownfield-of-dreams

Brownfield of Dreams is a video tutorial platform in which additional functionality was built on an existing codebase.
https://brownfield-dreams.herokuapp.com/
1 stars 0 forks source link

User Email activation #7

Open mikedao opened 5 years ago

mikedao commented 5 years ago
As a guest user
When I visit "/"
And I click "Register"
Then I should be on "/register"
And when I fill in an email address (required)
And I fill in first name (required)
And I fill in first name (required)
And I fill in password and password confirmation (required)
And I click submit
Then I should be redirected to "/dashboard"
And I should see a message that says "Logged in as <SOME_NAME>"
And I should see a message that says "This account has not yet been activated. Please check your email."
Background: The registration process above will trigger this story

As a non-activated user
When I check my email for the registration email
I should see a message that says "Visit here to activate your account."
And when I click on that link
Then I should be taken to a page that says "Thank you! Your account is now activated."

And when I visit "/dashboard"
Then I should see "Status: Active"
aprildagonese commented 5 years ago

https://coderwall.com/p/u56rra/ruby-on-rails-user-signup-email-confirmation-tutorial