1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-04 04:55:20 +02:00

Add backend for property account details

This commit is contained in:
Zach Gollwitzer 2024-08-22 14:54:14 -04:00
parent 4433488562
commit 5ea2fd5a23
17 changed files with 258 additions and 2 deletions

View file

@ -0,0 +1,15 @@
require "test_helper"
class AddressTest < ActiveSupport::TestCase
test "can print a formatted address" do
address = Address.new(
line1: "123 Main St",
locality: "San Francisco",
region: "CA",
country: "US",
postal_code: "94101"
)
assert_equal "123 Main St\n\nSan Francisco, CA 94101\nUS", address.to_s
end
end