-
-
Save thejonanshow/2a700ec18e09926d8c7f to your computer and use it in GitHub Desktop.
This file contains 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
accounts•ruby-1.9.3-p125@rails3_in_action•rails3_in_action»» cucumber | |
Feature: My account | |
In order to manage my account | |
As a money minder | |
I want to ensure my money doesn't get lost | |
Scenario: Taking out money # features/account.feature:6 | |
Given I have an account # features/step_definitions/account_steps.rb:1 | |
And it has a balance of 100 # features/step_definitions/account_steps.rb:5 | |
When I take out 10 # features/step_definitions/account_steps.rb:9 | |
undefined method `-' for "100":String (NoMethodError) | |
./features/step_definitions/account_steps.rb:10:in `/^I take out (\d+)$/' | |
features/account.feature:9:in `When I take out 10' | |
Then my balance should be 90 # features/step_definitions/account_steps.rb:14 | |
Failing Scenarios: | |
cucumber features/account.feature:6 # Scenario: Taking out money | |
1 scenario (1 failed) | |
4 steps (1 failed, 1 skipped, 2 passed) | |
0m0.002s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment