]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/changesets_controller_test.rb
Add login notice for note discussions
[rails.git] / test / controllers / changesets_controller_test.rb
index 79fd7a571e5f7b919d85b796d5baa879588c2663..d9a4b256bda2313e1cb0d011c051e99c41995983 100644 (file)
@@ -332,7 +332,7 @@ class ChangesetsControllerTest < ActionDispatch::IntegrationTest
 
         assert_select "> entry > content > xhtml|div > xhtml|table" do
           assert_select "> xhtml|tr > xhtml|td > xhtml|table" do
-            changeset.tags.each do |key, _|
+            changeset.tags.each_key do |key|
               assert_select "> xhtml|tr > xhtml|td", :text => /^#{key} = /
             end
           end