<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h1&gt;Story: Unit Management&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;As a planner&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I want to be able to add, edit and remove units from the system&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;So that I can keep my units up to date&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scenario: No Units&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
Given there are no units in the system
And the user with username 'Administrator' is logged in

When he clicks the 'Admin' link
And he clicks the 'Units' link

Then he should see the word 'Listing units'
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Scenario: Add a Unit&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
Given there are no units in the system
And the user with username 'Administrator' is logged in

When he clicks the 'Admin' link
And he clicks the 'Units' link
And he clicks the 'Add a new unit' link

Then he should see the words 'New unit', 'Code' and 'This unit plans by'

When he fills the 'Code' field with '7'
And he fills the 'Name' field with 'Nedap'
And he clicks the button

Then he should be redirected by javascript
And he should see the words 'Unit members of Nedap' and 'This team doesn't have any members'
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Scenario: View Units&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
Given there are no units in the system
And the user with username 'Administrator' is logged in

Given a unit with name 'Monkey Huggers' exists

When he clicks the 'Admin' link
And he clicks the 'Units' link

Then he should see the words 'Listing units' and 'Monkey Huggers'
&lt;/pre&gt;</body>
  <created-at type="datetime">2008-08-19T05:06:33-07:00</created-at>
  <id type="integer">46806</id>
  <permalink>example-story-3</permalink>
  <repository-id type="integer">43898</repository-id>
  <title>Example story #3</title>
  <updated-at type="datetime">2008-08-19T10:34:07-07:00</updated-at>
  <user-id type="integer">13864</user-id>
</wiki>
