X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e2db4098722ef4460aa455ceaf8d54f5614af557..978ba726d95aa7f739c19be682259879ef8c2584:/test/controllers/traces_controller_test.rb diff --git a/test/controllers/traces_controller_test.rb b/test/controllers/traces_controller_test.rb index 16a4741a0..39a72568f 100644 --- a/test/controllers/traces_controller_test.rb +++ b/test/controllers/traces_controller_test.rb @@ -768,7 +768,7 @@ class TracesControllerTest < ActionDispatch::IntegrationTest assert_select "tr", :count => traces.length do |rows| traces.zip(rows).each do |trace, row| assert_select row, "a", Regexp.new(Regexp.escape(trace.name)) - assert_select row, "span", Regexp.new(Regexp.escape("#{trace.size} points")) if trace.inserted? + assert_select row, "li", Regexp.new(Regexp.escape("#{trace.size} points")) if trace.inserted? assert_select row, "td", Regexp.new(Regexp.escape(trace.description)) assert_select row, "td", Regexp.new(Regexp.escape("by #{trace.user.display_name}")) end