mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Use fixture instead of factory
This commit is contained in:
parent
bc9ece46e6
commit
3ca34fe100
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require 'test_helper'
|
|||
|
||||
class NewRegistrarTest < ActionDispatch::IntegrationTest
|
||||
def setup
|
||||
login_as create(:admin_user)
|
||||
login_as users(:admin)
|
||||
end
|
||||
|
||||
def test_creates_registrar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue