Permalink
Browse files

Added Search flight feature

  • Loading branch information...
1 parent 43653fa commit 83e438800b0d3a8a87e82cd8c05fa45ab12423d7 @arunsark committed Aug 9, 2012
Showing with 9 additions and 12 deletions.
  1. +0 −12 booking_flight_tickets.feature
  2. +9 −0 features/searching_flights.feature
@@ -1,12 +0,0 @@
-Feature: Booking Flight Tickets
- In order to confirm my travel
- As a user
- I need to be able to easily book my tickets
-
-
-Scenario: Book a ticket
- Given there is a flight "6E-154" between "Bangalore" and "Hyderabad" on "01/12/2012"
- And I search for flights between "Bangalore" and "Hyderabad" on "01/12/2012"
- And I select the flight "6E-154" from the search result
- When I book the tickets for "01/12/2012"
- Then I should have the ticket booked on "6E-154" for "01/12/2012"
@@ -0,0 +1,9 @@
+Feature: Searching flights
+ In order to choose the appropriate flight
+ As a user
+ I need to be able to easily search and get the list of flights
+
+ Scenario: should list the relevant flights
+ Given there are flights between "Bangalore" and "Delhi"
+ When I search for flights between "Bangalore" and "Delhi"
+ Then all the flights between "Bangalore" and "Delhi" should be retrieved

0 comments on commit 83e4388

Please sign in to comment.