To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorSports
In order to know about different sports
As a sport fan
I want list of some sports
- Scenarios
-
- List of the sports
-
- Given
-
the system knows about the following sports::
name player Cricket Sachin Tendulkar Tennis Andy Murray FootBall David Beckham - When
- the client requests GET /sports
- Then
- response should be "200"
- And
- the JSON response should be an array with 3 "name" elements
- And
-
response should be JSON:
[ {"name": "Cricket", "player": "Sachin Tendulkar"}, {"name": "Tennis", "player": "Andy Murray"}, {"name": "FootBall", "player": "David Beckham"} ]
Last published over 5 years ago by Shashikant Jagtap.