Skip to content

Instantly share code, notes, and snippets.

@itsbth
Created January 21, 2012 16:42
Show Gist options
  • Select an option

  • Save itsbth/1653241 to your computer and use it in GitHub Desktop.

Select an option

Save itsbth/1653241 to your computer and use it in GitHub Desktop.
Using the default profile...
Disabling profiles...
Feature: User management
Scenario: Logging in with a new account # features/users.feature:3
When I log in # features/step_definitions/user_steps.rb:9
Then I should get redirected to the settings page # features/step_definitions/user_steps.rb:18
And I should get a success flash # features/step_definitions/user_steps.rb:28
Scenario: Logging in with an existing account # features/users.feature:8
Given a User exists with an identity url of "http://foo.com/" # factory_girl-2.4.2/lib/factory_girl/step_definitions.rb:119
When I log in as http://foo.com/ # features/step_definitions/user_steps.rb:13
Then I should get redirected to the home page # features/step_definitions/user_steps.rb:18
 expected: "/"
 got: "/session/edit" (using ==) (RSpec::Expectations::ExpectationNotMetError)
 ./features/step_definitions/user_steps.rb:23:in `/^I should get redirected to (.+)$/'
 features/users.feature:11:in `Then I should get redirected to the home page'
And I should get a success flash # features/step_definitions/user_steps.rb:28
Failing Scenarios:
cucumber features/users.feature:8 # Scenario: Logging in with an existing account
2 scenarios (1 failed, 1 passed)
7 steps (1 failed, 1 skipped, 5 passed)
0m2.193s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment