Created
March 29, 2010 15:11
-
-
Save rlmattax/347936 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
Scenario: User signs up with valid data | |
When I hit the sign up api with "user@example.com/secret" | |
Then I should see JSON: | |
""" | |
{"stuff":"value"} | |
""" | |
Results: | |
Scenario: User signs up with valid data # /Users/bmattax/Documents/workspace/donationllc/apps/donationweb/features/api_signup.feature:24 | |
When I hit the sign up api with "user@example.com/secret" # features/step_definitions/api_steps.rb:9 | |
Then I should see JSON: # features/step_definitions/should_see_json.rb:1 | |
""" | |
{"stuff":"value"} | |
""" | |
undefined method `[]' for #<JSON::Ext::Generator::State:0x3d25cc8> (NoMethodError) | |
./features/step_definitions/should_see_json.rb:3:in `/^(?:|I )should see JSON:$/' | |
/Users/bmattax/Documents/workspace/donationllc/apps/donationweb/features/api_signup.feature:26:in `Then I should see JSON:' | |
Failing Scenarios: | |
cucumber /Users/bmattax/Documents/workspace/donationllc/apps/donationweb/features/api_signup.feature:24 # Scenario: User signs up with valid data | |
1 scenario (1 failed) | |
2 steps (1 failed, 1 passed) | |
0m0.276s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment