Convert specs to tests

This commit is contained in:
Artur Beljajev 2019-03-08 14:41:44 +02:00
parent 8c4e6f1656
commit 0faed5d773

View file

@ -154,4 +154,10 @@ class InvoiceTest < ActiveSupport::TestCase
assert_equal 1, iteration_count assert_equal 1, iteration_count
end end
def test_returns_combined_seller_address
invoice = Invoice.new(seller_street: 'street', seller_city: 'city', seller_state: 'state',
seller_zip: nil)
assert_equal 'street, city, state', invoice.seller_address
end
end end