This file contains hidden or 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
| Feature: Signing in | |
| In order to use the site | |
| As a user | |
| I want to be able to sign in | |
| Scenario: Signing in via confirmation | |
| Given there are the following users: | |
| | email | password | confirm_user | | |
| | user@ticketee.com | password | false | | |
| And "user@ticketee.com" opens the email with subject "Confirmation instructions" |
This file contains hidden or 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
| class Bacon | |
| attr_accessor :expired | |
| def edible? | |
| !expired | |
| end | |
| def expired! | |
| self.expired = true | |
| end |
NewerOlder