Skip to content

Instantly share code, notes, and snippets.

@ngty
Created December 19, 2008 09:05
Show Gist options
  • Save ngty/37930 to your computer and use it in GitHub Desktop.
Save ngty/37930 to your computer and use it in GitHub Desktop.
(in /home/ngtzeyang/dev/mine/edge)
Loading init file from /home/ngtzeyang/dev/mine/edge/config/init.rb
Loading /home/ngtzeyang/dev/mine/edge/config/environments/development.rb
Feature: Login # features/login.feature
To ensure the safety of the application
A regular user of the system
Must authenticate before using the app
Scenario Outline: Failed Login # features/login.feature:6
Given I am not authenticated # features/login.feature:7
When I go to /login # features/login.feature:8
And I fill in "login" with "<mail>" # features/login.feature:9
And I fill in "password" with "<password>" # features/login.feature:10
And I press "Log In" # features/login.feature:11
Then the login request should fail # features/login.feature:12
Then I should see an error message # features/login.feature:13
|mail |password |
|not_an_address|nil |
|not@not |123455 |
|[email protected] |wrong_paasword|
21 steps passed
/usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/example_group_runner.rb:14:in `load': ./features/login.feature:1: syntax error, unexpected ':', expecting $end (SyntaxError)
Feature: Login
^
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/example_group_runner.rb:14:in `load_files'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/example_group_runner.rb:13:in `each'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/example_group_runner.rb:13:in `load_files'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:98:in `run_examples'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec.rb:21:in `run'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner.rb:191:in `register_at_exit_hook'
from /home/ngtzeyang/dev/mine/edge/bin/cucumber:15
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -I "/usr/lib/ruby/gems/1....]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment