mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Remove test
This commit is contained in:
parent
bb6f6cc81a
commit
3aca9f723f
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RegistrarsControllerTest < ActionDispatch::IntegrationTest
|
||||
def setup
|
||||
login_as create(:admin_user)
|
||||
end
|
||||
|
||||
def test_creates_new_registrar
|
||||
assert_difference -> { Registrar.count } do
|
||||
post admin_registrars_path, registrar: attributes_for(:registrar)
|
||||
end
|
||||
end
|
||||
|
||||
def test_redirects_to_newly_created_registrar
|
||||
post admin_registrars_path, registrar: attributes_for(:registrar)
|
||||
assert_redirected_to admin_registrar_path(Registrar.first)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue