<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h1&gt;Story: Transportation Methods Management&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;As an administrator&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I want to be able to list, edit, remove or create transportation methods&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;So that I can keep the transportation methods up to date with what is possible for my organization&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scenario: List of Transportation Methods&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
Given the user with username 'Administrator' is logged in

When he clicks the 'Admin' link
And he clicks the 'Transportation methods' link
Then he should see the words 'Listing transportation methods', 'Administrator dashboard'
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Scenario: Edit a Transportation Method&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
Given the user with username 'Administrator' is logged in

When he clicks the 'Admin' link
And he clicks the 'Transportation methods' link
And he clicks the 'Edit' link
Then he should see the words 'Editing transportation method Auto', 'Administrator dashboard'

When he fills the 'Name' field with 'Ootoo'
And he fills the 'Speed' field with '123'
And he fills the 'Minimal travel time' field with '30'
And he fills the 'Round travel time to' field with '5'
And he clicks the button
Then he should see the words 'Listing transportation methods', 'Transportation methods', 
'Ootoo'
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Scenario: Add a Transportation Method&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
Given the user with username 'Administrator' is logged in

When he clicks the 'Admin' link
And he clicks the 'Transportation methods' link
And he clicks the 'Add a new transportation method' link
Then he should see the words 'New transportation method', 'Administrator dashboard'

When he fills the 'Name' field with 'MooMoo Cow'
And he fills the 'Speed' field with '7'
And he fills the 'Minimal travel time' field with '60'
And he fills the 'Round travel time' field with '15'
And he clicks the button
Then he should see the words 'MooMoo Cow', '7', 'Edit' and 'Add a new transportation method'
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Scenario: Failed Adding a Transportation Method&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
Given the user with username 'Administrator' is logged in

When he clicks the 'Admin' link
And he clicks the 'Transportation methods' link
And he clicks the 'Add a new transportation method' link
And he clicks the button
Then he should see the words &quot;Speed can't be blank&quot;, 'Speed may only contain numbers', 
'Speed must be a positive number'
&lt;/pre&gt;</body>
  <created-at type="datetime">2008-08-19T05:03:55-07:00</created-at>
  <id type="integer">46803</id>
  <permalink>example-story-1</permalink>
  <repository-id type="integer">43898</repository-id>
  <title>Example story #1</title>
  <updated-at type="datetime">2008-08-19T10:32:56-07:00</updated-at>
  <user-id type="integer">13864</user-id>
</wiki>
