Project

General

Profile

Actions

Defect #44692

closed

ApplicationHelperTest#test_wiki_textarea_stimulus_attributes tests are never run

Defect #44692: ApplicationHelperTest#test_wiki_textarea_stimulus_attributes tests are never run

Added by Marius BĂLTEANU about 1 month ago. Updated 4 days ago.

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
Resolution:
Fixed
Affected version:

Description

The two tests for ApplicationHelper#wiki_textarea_stimulus_attributes in test/helpers/application_helper_test.rb are defined after the private keyword:

  • test_wiki_textarea_stimulus_attributes
  • test_wiki_textarea_stimulus_attributes_with_blank_text_formatting
The attached patch:
  • moves both tests before private, so that they are run;
  • updates the expected attributes with the selection-indent controller, its actions and the selection_indent_text_formatting_param parameter.

Files


Related issues 2 (0 open — 2 closed)

Related to Redmine - Feature #43095: Support automatic list marker insertion in textareasClosedMarius BĂLTEANUActions
Related to Redmine - Feature #44061: Support Tab/Shift+Tab indentation of selected textarea lines in CommonMark MarkdownClosedGo MAEDAActions
Actions

Also available in: PDF Atom