mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +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
|
class NewRegistrarTest < ActionDispatch::IntegrationTest
|
||||||
def setup
|
def setup
|
||||||
login_as create(:admin_user)
|
login_as users(:admin)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_creates_registrar
|
def test_creates_registrar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue