mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 06:04:56 +02:00
Use setup/teardown blocks instead of methods
This commit is contained in:
parent
b1e0371188
commit
f8eda810f9
29 changed files with 29 additions and 29 deletions
|
@ -12,7 +12,7 @@ class ContactIdenticalTest < ActiveSupport::TestCase
|
|||
org_name
|
||||
]
|
||||
|
||||
def setup
|
||||
setup do
|
||||
@contact = contacts(:william)
|
||||
@identical = contacts(:identical_to_william)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue