mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 07:34:45 +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'
|
require 'test_helper'
|
||||||
|
|
||||||
class AdminAreaSignInTest < ApplicationSystemTestCase
|
class AdminAreaSignInTest < ApplicationSystemTestCase
|
||||||
def setup
|
setup do
|
||||||
@user = users(:admin)
|
@user = users(:admin)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class AdminAreaSignOutTest < ApplicationSystemTestCase
|
class AdminAreaSignOutTest < ApplicationSystemTestCase
|
||||||
def setup
|
setup do
|
||||||
sign_in users(:admin)
|
sign_in users(:admin)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class RegistrarAreaPasswordSignInTest < ApplicationSystemTestCase
|
class RegistrarAreaPasswordSignInTest < ApplicationSystemTestCase
|
||||||
def setup
|
setup do
|
||||||
@user = users(:api_bestnames)
|
@user = users(:api_bestnames)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class RegistrarAreaSignOutTest < ApplicationSystemTestCase
|
class RegistrarAreaSignOutTest < ApplicationSystemTestCase
|
||||||
def setup
|
setup do
|
||||||
sign_in users(:api_bestnames)
|
sign_in users(:api_bestnames)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue