Patch #40014 » 40014-test.patch
| test/unit/lib/redmine/wiki_formatting/macros_test.rb | ||
|---|---|---|
| 279 | 279 |
end |
| 280 | 280 |
end |
| 281 | 281 | |
| 282 |
def test_macro_collapse_with_arg_contains_comma |
|
| 283 |
text = %|{{collapse("Click here, to see the example", Hide example)\n*Collapsed* block of text\n}}|
|
|
| 284 |
result = textilizable(text) |
|
| 285 |
assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Click here, to see the example' |
|
| 286 |
assert_select_in result, 'a.collapsible.icon-expanded', :text => 'Hide example' |
|
| 287 |
end |
|
| 288 | ||
| 282 | 289 |
def test_macro_collapse_should_not_break_toc |
| 283 | 290 |
set_language_if_valid 'en' |
| 284 | 291 | |
- « Previous
- 1
- 2
- Next »