nkryptic (owner)

Forks

Revisions

gist: 53602 Download_button fork
public
Public Clone URL: git://gist.github.com/53602.git
Text only
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
## 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!