]> git.openstreetmap.org Git - rails.git/blobdiff - test/application_system_test_case.rb
Use title case consistently for nav tab labels
[rails.git] / test / application_system_test_case.rb
index 0ddb8a87ad73f91606df90af224df851c9919c06..76c5469b2269d87bf568677b62b10c84cb51f243 100644 (file)
@@ -45,4 +45,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
   def within_content_body(&)
     within("#content > .content-body", &)
   end
+
+  def within_content_heading(&)
+    within("#content > .content-heading", &)
+  end
 end