MarkUsProject/Markus — pull request #677 by NelleV (2012-02-19 10:40:18+00:00)
Title: closes #675 - refactored annotation_categories_controller_test - ported ...

...to machinist

Now only using machinist and shoulda, and of the format
+ annotation_categories_controller_test.rb
|
+--- An unauthenticated user
| | - should on :index
| | - should on :get_annotations
| | - should on :add_annotation_category
| | - should on :update_annotation_category
| | - should on :add_annotation_text
| | - should on :delete_annotation_category
| | - should on :download
| | - should on :csv_upload
| | - should on :index
| | - should on :get_annotations
| | - should on :add_annotation_category
| | - should on :update_annotation_category
| | - should on :update_annotation
| | - should on :add_annotation_text
| | - should on :delete_annotation_text
| | - should on :delete_annotation_category
| | - should on :download
| | - should on :csv_upload
| | - should on :update_annotation
| | - should on :delete_annotation_text
|
+--- An admin
| - should on :index
| - should on :get_annotations
| - should on :add_annotation_category
|
+--- on :update_annotation_category
| | - should update properly
| | - should with an error on save
| - should on :update_annotation
| - should on :add_annotation_text
| - should on :delete_annotation_text
| - should on :delete_annotation_category
|
+--- on :download
| | - should in csv
| | - should in yml
| | - should in error
| - should on :csv_upload
|
+--- on :add_annotation_category
| | - should without errors
| | - should with error on save
|
+--- on :add_annotation_text
| | - should without errors
| | - should with errors on save
| - should on :csv_upload
|
+--- Annotation Categories
| - should on :yml_upload
| - should on :yml_upload with an error