]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_changeset_comments_test.rb
Use each_with_object
[rails.git] / test / integration / user_changeset_comments_test.rb
index a9bd468cead1b1ec6bbcba7ed6ac6c7bbff2de6b..2b95094fec464587c4759737c633b9d7dd44fcd8 100644 (file)
@@ -12,7 +12,7 @@ class UserChangesetCommentsTest < ActionDispatch::IntegrationTest
       assert_select "div#sidebar" do
         assert_select "div#sidebar_content" do
           assert_select "div" do
-            assert_select "div.notice" do
+            assert_select "p.notice" do
               assert_select "a[href='/login?referer=%2Fchangeset%2F#{changeset.id}']", :text => I18n.t("browse.changeset.join_discussion"), :count => 1
             end
           end