Actions
Defect #2424
closedfunctional test error - RepositoriesGitControllerTest / test_annotate_binary_file
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-12-31
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
assert_tag :tag => 'div', :attributes => { :class => /error/ },
:content => /can not be annotated/
leads to an error ..
should use the flash assertion
assert flash[:error], 'can not be annotated'
Updated by Jean-Philippe Lang almost 16 years ago
- Status changed from New to Closed
assert flash[:error], 'can not be annotated'
The assertion passes but it doesn't do what you expect.
You may want to read the doc of the assert method:
http://www.ruby-doc.org/stdlib/libdoc/test/unit/rdoc/classes/Test/Unit/Assertions.html#M004506
Anyway, I don't get any error. So please post the error/failure log.
Actions