mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-07-22 01:22:54 +00:00
Add test for SVG sprite presence
This commit is contained in:
@ -14,4 +14,11 @@ class DirectionsControllerTest < ActionDispatch::IntegrationTest
|
||||
get directions_path
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
def test_sprite
|
||||
get directions_path
|
||||
assert_dom "svg>symbol[id*='-right']"
|
||||
assert_dom "svg>symbol[id*='-left']"
|
||||
assert_dom "svg>symbol[id*='-straight']"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user