]> git.openstreetmap.org Git - rails.git/blobdiff - test/application_system_test_case.rb
Update leaflet-osm to latest upstream version
[rails.git] / test / application_system_test_case.rb
index d2c3d5196ab9b5ccbcae32aaaed086e03650d7f5..0ddb8a87ad73f91606df90af224df851c9919c06 100644 (file)
@@ -41,4 +41,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
   def within_sidebar(&)
     within("#sidebar_content", &)
   end
+
+  def within_content_body(&)
+    within("#content > .content-body", &)
+  end
 end