summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-01-07 14:56:29 +0000
committerGo MAEDA <maeda@farend.jp>2020-01-07 14:56:29 +0000
commit03a4e2156820852007ff8ff9613864f5a6f05c98 (patch)
treec38be1ef7e032e6c37c076d6b062505463e38602 /test
parentd28f6357150d085765abd364df91fe7e45baa983 (diff)
downloadredmine-03a4e2156820852007ff8ff9613864f5a6f05c98.tar.gz
redmine-03a4e2156820852007ff8ff9613864f5a6f05c98.zip
Fix missing arrow icon of collapse macro (#32754).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/macros_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/macros_test.rb b/test/unit/lib/redmine/wiki_formatting/macros_test.rb
index ceda727c8..214e77868 100644
--- a/test/unit/lib/redmine/wiki_formatting/macros_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/macros_test.rb
@@ -215,8 +215,8 @@ class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
assert_select_in result, 'div.collapsed-text'
assert_select_in result, 'strong', :text => 'Collapsed'
- assert_select_in result, 'a.collapsible.collapsed', :text => 'Show'
- assert_select_in result, 'a.collapsible', :text => 'Hide'
+ assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Show'
+ assert_select_in result, 'a.collapsible.icon-expended', :text => 'Hide'
end
end
@@ -226,8 +226,8 @@ class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
assert_select_in result, 'div.collapsed-text'
assert_select_in result, 'strong', :text => 'Collapsed'
- assert_select_in result, 'a.collapsible.collapsed', :text => 'Example'
- assert_select_in result, 'a.collapsible', :text => 'Example'
+ assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Example'
+ assert_select_in result, 'a.collapsible.icon-expended', :text => 'Example'
end
def test_macro_collapse_with_two_args
@@ -236,8 +236,8 @@ class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
assert_select_in result, 'div.collapsed-text'
assert_select_in result, 'strong', :text => 'Collapsed'
- assert_select_in result, 'a.collapsible.collapsed', :text => 'Show example'
- assert_select_in result, 'a.collapsible', :text => 'Hide example'
+ assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Show example'
+ assert_select_in result, 'a.collapsible.icon-expended', :text => 'Hide example'
end
def test_macro_collapse_should_not_break_toc