spec(normalized_address): add simple spec

This commit is contained in:
mfo 2024-08-22 10:18:50 +02:00
parent 7182a4e8d0
commit 70983c50f9
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
4 changed files with 34 additions and 2 deletions

View file

@ -12,7 +12,7 @@ module Maintenance
it 'updates value_json' do
expect { subject }.to change { element.reload.value_json }
.from(nil)
.from(anything)
.to({
"city_code" => "92009",
"city_name" => "Bois-Colombes",