From 3fc55866b23ce77b550fd7aad1f2bce23cb1b718 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Wed, 8 Aug 2018 13:55:54 +0300 Subject: [PATCH] Use setup callback --- test/models/contact_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models/contact_test.rb b/test/models/contact_test.rb index e63c0e589..fc01388a3 100644 --- a/test/models/contact_test.rb +++ b/test/models/contact_test.rb @@ -1,7 +1,7 @@ require 'test_helper' class ContactTest < ActiveSupport::TestCase - def setup + setup do @contact = contacts(:john) @original_address_processing_setting = Setting.address_processing end