Sha256: f6901c418d28ce86f19cfc54562c0777f7ddc8c183d7d968d0196a199eeb59f1

Contents?: true

Size: 892 Bytes

Versions: 3

Compression:

Stored size: 892 Bytes

Contents

Feature: As a user of the toll_booth library
  I want to retrieve direction data
  So that I can interact with it

  Scenario: Get Routes From a Simple Trip
    Given I'm starting at "4 Yawkey Way, Boston, MA"
    And I want to go to "1 Fleetcenter Place, Boston, MA"
    When I get driving directions
    Then I should get a list of possible routes
    And the first route should have a "distance"
    And the first route should have "travel_time"
    And the first route should have a list of "steps"

  Scenario: Invalid Destination
    Given I'm starting at "4 Yawkey Way, Boston, MA"
    And I want to go to "Foobar"
    When I get driving directions
    Then I should get "1" routing error

  Scenario: Invalid Origin
    Given I'm starting at "Foobar"
    And I want to go to "1 Fleetcenter Place, Boston, MA"
    When I get driving directions
    Then I should get "1" routing error

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
dpickett-toll_booth-0.1.0 features/get_directions.feature
toll_booth-0.2.0 features/get_directions.feature
toll_booth-0.1.0 features/get_directions.feature