32754-update-test.patch

Go MAEDA, 2020-01-07 15:00

Download (1.55 KB)

View differences:

test/unit/lib/redmine/wiki_formatting/macros_test.rb
215 215

  
216 216
      assert_select_in result, 'div.collapsed-text'
217 217
      assert_select_in result, 'strong', :text => 'Collapsed'
218
      assert_select_in result, 'a.collapsible.collapsed', :text => 'Show'
218
      assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Show'
219 219
      assert_select_in result, 'a.collapsible', :text => 'Hide'
220 220
    end
221 221
  end
......
226 226

  
227 227
    assert_select_in result, 'div.collapsed-text'
228 228
    assert_select_in result, 'strong', :text => 'Collapsed'
229
    assert_select_in result, 'a.collapsible.collapsed', :text => 'Example'
229
    assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Example'
230 230
    assert_select_in result, 'a.collapsible', :text => 'Example'
231 231
  end
232 232

  
......
236 236

  
237 237
    assert_select_in result, 'div.collapsed-text'
238 238
    assert_select_in result, 'strong', :text => 'Collapsed'
239
    assert_select_in result, 'a.collapsible.collapsed', :text => 'Show example'
239
    assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Show example'
240 240
    assert_select_in result, 'a.collapsible', :text => 'Hide example'
241 241
  end
242 242