Sha256: 24aea276664ef450d2a11a9f25d88bfedf23ac6e4ce45a0b0b271bb08f17bdc8
Contents?: true
Size: 1.06 KB
Versions: 48
Compression:
Stored size: 1.06 KB
Contents
Visitors may create an account, but for those who are not already in the system an someone must activate the account for them before it can be used. Feature: Activating an account As a registered, but not yet activated, user I want to be able to activate my account So that I can log in to the site Scenario: Not-yet-activated user can activate her account Given a registered user named 'Reggie' # need to rewrite # And the user has activation_code: 'activate_me', activated_at: nil! # And we try hard to remember the user's updated_at, and created_at # When she goes to /activate/activate_me # Then she should be redirected to 'login' # When she follows that redirect! # Then she should see a notice message 'Signup complete!' # And a user with login: 'reggie' should exist # And the user should have login: 'reggie', and email: 'registered@example.com' # And the user's activation_code should be nil # And the user's activated_at should not be nil # And she should not be logged in
Version data entries
48 entries across 48 versions & 5 rubygems