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
|
@ -3,7 +3,7 @@ require 'test_helper'
|
|||
class AdminAreaDomainForceDeleteTest < ActionDispatch::IntegrationTest
|
||||
include ActionMailer::TestHelper
|
||||
|
||||
def setup
|
||||
setup do
|
||||
login_as users(:admin)
|
||||
@domain = domains(:shop)
|
||||
ActionMailer::Base.deliveries.clear
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue