mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user