Remove redundant functions

This commit is contained in:
Karl Erik Õunapuu 2020-08-10 14:05:22 +03:00
parent 1bc0ec07d3
commit 55ae0dc0b7
2 changed files with 4 additions and 4 deletions

View file

@ -152,6 +152,8 @@ class ContactTest < ActiveSupport::TestCase
end
def test_address
Setting.address_processing = true
address = Contact::Address.new('new street', '83746', 'new city', 'new state', 'EE')
@contact.address = address
@contact.save!