Project

General

Profile

Actions

Defect #44692

open

ApplicationHelperTest#test_wiki_textarea_stimulus_attributes tests are never run

Added by Marius BĂLTEANU 1 day ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Resolution:
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

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 #1

Updated by Marius BĂLTEANU 1 day ago

  • Related to Feature #43095: Support automatic list marker insertion in textareas added
Actions #2

Updated by Marius BĂLTEANU 1 day ago

  • Related to Feature #44061: Support Tab/Shift+Tab indentation of selected textarea lines in CommonMark Markdown added
Actions

Also available in: Atom PDF