- Editor
- should allow retrieving a the description
- should permit updating a description
- A configured ActivitiesUpdater
- should update the attached instance when the configured stories changes
- The active index
- should start as nil
- should allow setting value to number >= 0 or nil
- should convert setting negative numbers to null operation
- should notify a callback when the index changes
- should persist
- should retrieve
- Activities testing assumes
- that we can programmatically motivate a Gtk::Button
- Preparing an Activities
- should add all buttons to vbox
- should disable movement buttons if there are no stories
- should enable the remove button if there is one story but still disable the move
- should enable movement buttons if there are 2 stories
- should enable movement buttons if there are more than 2 stories
- should disable remove button if there are no stories
- should be able to update the sensitivity of buttons
- ActiveStory
- should be provide access to a selected Story
- should reposition when a story is appended
- should reposition when a story is inserted
- should be repositioned when demoted
- should be repositioned when promoted
- should allow editing the active story
- should be repositioned when moving to highest
- should be repositioned when moving to lowest
- should change the underlying current story when completed toggled
- should change the underlying current story when estimate is changed
- should notified Observers when the active index changes
- should activate when activeIndex is changed
- should send delete notification message when :delete
- Operations initialization
- should provide the number of stories
- Operations adding new Story
- should prompt for a story and send it via an :append message to the stories collaborator if the ActiveStory is undefined
- should prompt for a story and send it via an :insert message to the stories collaborator if the ActiveStory is defined
- should do nothing if a prompt returns nil
- Operations deleting Stories
- should delete the active Story if it exists when :remove is used
- StoriesListStore initialization
- should define the fields in an underlying Gtk::ListStore
- should populate with the existing contents of the configured Stories instance
- should allow populating with nil estimates
- StoriesListStore
- should respond to add updates
- should respond to add updates that are not appends
- should not respond to remove non-existent item
- should respond to remove first item updates
- should not respond to removing from empty list
- should respond to remove last item updates
- should respond to remove middle item updates
- should respond to move updates when demoting
- should respond to move updates when promoting
- should respond to move updates when moving toLowest
- should respond to move updates when moving toLowest
- should respond to change update
- StoriesTreeView assumptions
- that we can trigger a toggled event on a CellRendererToggle but that we have to specify the toggled path
- that select_path() causes a selection changed signal
- StoriesTreeView
- should define columns
- should define the set of estimates
- should trigger observers on :completed when completed cell is clicked
- should trigger observers on :estimate when estimate combo item is selected
- should select the row corresponding to the active story when constructed
- StoriesTreeView behaviours
- should activate the new selection when selection changes in the view
- should send :edit when a row is activated
- should respond to updates
- The Persistent Storage
- should persist registered 'storables'
- should allow retrieval of registered 'storables'
- should allow retrieval & presistance of multiple registered 'storables'
- should persist if a registered 'storable' updates
- should raise exception when no add_observer method
- should raise exception when no 'contents' method
- should raise exception when no 'contents=' method
- A new story
- should provide default values for every property
- should be equivalent to another story with the same parameters
- should use the completed property in equivalency checks
- should allow updating the estimate in the range 1..10
- should allow updating the completed to either true or false
- should have YAML functionality
- A new story collection
- should provide no stories
- A story collection
- should permit loading of stories in YAML format
- should permit iterating stories
- should allow moving a story to the highest priority
- should allow moving a story to the lowest priority
- should allow promoting a story by a single priority
- should allow demoting a story by a single position
- should allow adding a story
- should allow inserting a story
- should append when :insert is used with a nil index
- should allow updating a story
- should notify other objects when there are changes
- should allow removing objects by index
- StoriesObserver
- should should respond to notifications from a Stories instance
- should provide a default implementation for every Stories notification
- should call post() after each notification
- should pass the arguments as a list of indices to notification handlers