forked from cucumber/cucumber-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed [cucumber#182 state:resolved] and release 0.1.99.17 (I goofed 0…
….1.99.16)
- Loading branch information
1 parent
24d399c
commit e028934
Showing
8 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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: '[email protected]' | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters