Created
March 29, 2012 20:26
-
-
Save dannykopping/2243374 to your computer and use it in GitHub Desktop.
Behat Awesomeness
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
Feature: Testing the REST functionality of Aerial Framework | |
with Slim Framework and Guzzle | |
Scenario: Fetching a simple JSON response # features/rest.feature:4 | |
Given that I pass no parameters # FeatureContext::thatIPassNoParameters() | |
When I call "/internal/test/simple" # FeatureContext::iCall() | |
Then the response is JSON # FeatureContext::theResponseIsJson() | |
Then the response status code should be 200 # FeatureContext::theResponseStatusCodeShouldBe() | |
1 scenario (1 passed) | |
4 steps (4 passed) | |
0m0.049s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment