X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5175ee68b00629daa03a788688b2cfe38ed8d3ee..246d8a445267d2288143042ccb29ca2ce4fec9e8:/test/controllers/changeset_controller_test.rb diff --git a/test/controllers/changeset_controller_test.rb b/test/controllers/changeset_controller_test.rb index 5b1dfdbe4..4db952ab9 100644 --- a/test/controllers/changeset_controller_test.rb +++ b/test/controllers/changeset_controller_test.rb @@ -2339,10 +2339,11 @@ EOF assert changesets.size <= 20 assert_select "feed", :count => [changesets.size, 1].min do - assert_select "entry", :count => changesets.size + assert_select "> title", :count => 1, :text => /^Changesets/ + assert_select "> entry", :count => changesets.size changesets.each do |changeset| - assert_select "entry > id", changeset_url(:id => changeset.id) + assert_select "> entry > id", changeset_url(:id => changeset.id) end end end