Use setup/teardown blocks instead of methods

This commit is contained in:
Artur Beljajev 2018-04-04 01:42:59 +03:00
parent b1e0371188
commit f8eda810f9
29 changed files with 29 additions and 29 deletions

View file

@ -12,7 +12,7 @@ class ContactIdenticalTest < ActiveSupport::TestCase
org_name
]
def setup
setup do
@contact = contacts(:william)
@identical = contacts(:identical_to_william)
end