Project

General

Profile

Actions

Defect #2424

closed

functional test error - RepositoriesGitControllerTest / test_annotate_binary_file

Added by yves dufour over 15 years ago. Updated over 12 years ago.

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'

Actions #1

Updated by Jean-Philippe Lang over 15 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 #2

Updated by Etienne Massip over 12 years ago

  • Category set to SCM
Actions

Also available in: Atom PDF