Created
January 27, 2009 22:14
-
-
Save nkryptic/53602 to your computer and use it in GitHub Desktop.
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
## NOTE | |
The error refers to the first line of the second multi-line pre-scenario comments | |
## sessions.feature file | |
Users want to know that nobody can masquerade as them. We want to extend trust | |
only to visitors who present the appropriate credentials. Everyone wants this | |
identity verification to be as secure and convenient as possible. | |
Feature: Logging in | |
As an anonymous user with an account | |
I want to log in to my account | |
So that I can be myself | |
# | |
# Log in: get form | |
# | |
Scenario: Anonymous user can get a login form. | |
Given I am logged out | |
When I go to "/login" | |
Then I should be at the "sessions/new" page | |
# | |
# Log in successfully, but don't remember me | |
# | |
Scenario: Anonymous user can log in | |
Given an "activated" user named "reggie" exists | |
And I am logged out | |
When I go to "/login" | |
And I fill in "Login" with "reggie" | |
And I fill in "Password" with "password" | |
And I press "Log in" | |
Then I should be at the "dashboard/index" page | |
## ERROR from cucumber | |
/home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:58:in `parse_or_fail': features/authentication/sessions.feature:25:3: Parse error, expected one of (Cucumber::Parser::SyntaxError) | |
, Given, When, Then, And, But, @, Scenario:, Scenario Outline:. | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:20:in `parse_file' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:25:in `open' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:25:in `parse_file' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/cli/main.rb:299:in `load_plain_text_features' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/cli/main.rb:298:in `each' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/cli/main.rb:298:in `load_plain_text_features' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/cli/main.rb:192:in `execute!' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/../lib/cucumber/cli/main.rb:21:in `execute' | |
from /home/sysadm/devbox/organizr/organizr/vendor/plugins/cucumber/bin/cucumber:6 | |
rake aborted! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment