X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5d90e595a26849da56491023fd7dc4a2453bb2b9..a08fe1c2915722e70a695db244479c60157dd2b3:/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