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

@ -1,7 +1,7 @@
require 'test_helper'
class RegistrarCodeTest < ActiveSupport::TestCase
def setup
setup do
@registrar = registrars(:bestnames).dup
end