Patch #32094

Remove unnecessary call to set_tmp_attachments_directory

Added by Go MAEDA almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:


Category:Code cleanup/refactoring
Target version:4.1.0


In test/integration/api_test/attachments_test.rb and test/functional/attachments_controller_test.rb, calling the method set_tmp_attachments_directory at the tail of a method is unnecessary because the method is called in the teardown method (see source:tags/4.0.4/test/integration/api_test/attachments_test.rb#L37 and source:tags/4.0.4/test/functional/attachments_controller_test.rb#L33).

This patch removes the unnecessary calls to set_tmp_attachments_directory.

Associated revisions

Revision 18484
Added by Go MAEDA almost 3 years ago

Fixes not to call set_tmp_attachments_directory twice after each test (#32094).

Patch by Go MAEDA.


#1 Updated by Go MAEDA almost 3 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version set to 4.1.0

Committed the fix.

Also available in: Atom PDF