]> git.openstreetmap.org Git - rails.git/blobdiff - test/application_system_test_case.rb
Merge pull request #5677 from tomhughes/user-list-enhancements
[rails.git] / test / application_system_test_case.rb
index 496f37c16be4be820d16dfb753ab1bed77c8cd2a..852f270b6ef713571339a1ada651a4c3ed219826 100644 (file)
@@ -46,4 +46,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
   def within_content_body(&)
     within("#content > .content-body", &)
   end
+
+  def within_content_heading(&)
+    within("#content > .content-heading", &)
+  end
 end