mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Use setup callback
This commit is contained in:
parent
8c744f091b
commit
db0ae116a0
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
require 'test_helper'
|
||||
|
||||
class AdminAreaSignInTest < ApplicationSystemTestCase
|
||||
def setup
|
||||
setup do
|
||||
@user = users(:admin)
|
||||
end
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'test_helper'
|
||||
|
||||
class AdminAreaSignOutTest < ApplicationSystemTestCase
|
||||
def setup
|
||||
setup do
|
||||
sign_in users(:admin)
|
||||
end
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RegistrarAreaPasswordSignInTest < ApplicationSystemTestCase
|
||||
def setup
|
||||
setup do
|
||||
@user = users(:api_bestnames)
|
||||
end
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RegistrarAreaSignOutTest < ApplicationSystemTestCase
|
||||
def setup
|
||||
setup do
|
||||
sign_in users(:api_bestnames)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue