]> git.openstreetmap.org Git - rails.git/blobdiff - test/application_system_test_case.rb
Use svg icons in first/last element version links
[rails.git] / test / application_system_test_case.rb
index c2de02781e63c384fe2c7943df3abb7fad3be8d6..b170e74b1aa75e1273aa02c20e418beac20e31fd 100644 (file)
@@ -21,4 +21,10 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
     Settings.reload!
     super
   end
     Settings.reload!
     super
   end
+
+  private
+
+  def within_sidebar(&block)
+    within "#sidebar_content", &block
+  end
 end
 end