Skip to content

Instantly share code, notes, and snippets.

@dreamr
Created December 9, 2010 23:57
Show Gist options
  • Save dreamr/735541 to your computer and use it in GitHub Desktop.
Save dreamr/735541 to your computer and use it in GitHub Desktop.
Spec Failures
WorkOrder
adding cost codes
should not have a cost code (FAILED - 1)
should allow you to add a cost code (FAILED - 2)
should have one field cost code (FAILED - 3)
should have one engineering cost code (FAILED - 4)
has 100 hours of Field labor (FAILED - 5)
has 100 hours of Engineering labor (FAILED - 6)
will update the total field labor on save (FAILED - 7)
will update the total engineering labor on save (FAILED - 8)
GenericItemsController
creating generic items
creates generic item not attached to a component (FAILED - 9)
creates generic item and attaches it to a component (FAILED - 10)
working with generic items in the table
shows the active generic items for the selected component sorted by description (FAILED - 11)
Job audits attribute changes
with different messages for creation and updates
audits the completion_date attribute (FAILED - 12)
audits the engineer_plan_date attribute (FAILED - 13)
JobTtiPart
custom job parts
should automatically be assigned the next available job tti part number (FAILED - 14)
JobLink
default values set upon creation
sets the run type to component type of TO component (FAILED - 15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment