Merge pull request #14087 from openfoodfoundation/dependabot/bundler/haml-7.2.0

Bump haml from 6.3.0 to 7.2.0
This commit is contained in:
Maikel
2026-03-24 11:34:28 +11:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -385,11 +385,11 @@ GEM
good_migrations (0.3.1)
activerecord (>= 3.1)
railties (>= 3.1)
haml (6.3.0)
haml (7.2.0)
temple (>= 0.8.2)
thor
tilt
haml_lint (0.68.0)
haml_lint (0.72.0)
haml (>= 5.0)
parallel (~> 1.10)
rainbow

View File

@@ -6,13 +6,13 @@ RSpec.describe "registration/steps/_details.html.haml" do
it "uses Google Maps when it is enabled" do
allow(view).to receive_messages(using_google_maps?: true)
is_expected.to match /<ui-gmap-google-map center='map.center' zoom='map.zoom'>/
is_expected.to match /<ui-gmap-google-map center="map.center" zoom="map.zoom">/
end
it "uses OpenStreetMap when it is enabled" do
ContentConfig.open_street_map_enabled = true
allow(view).to receive_messages(using_google_maps?: false)
is_expected.to match /<div class='map-container--registration' id='open-street-map'>/
is_expected.to match /<div class="map-container--registration" id="open-street-map">/
end
end