mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
updated application yml sample file for system tests
This commit is contained in:
parent
285eb28ac6
commit
72b3fdebad
3 changed files with 29 additions and 33 deletions
|
@ -1,20 +0,0 @@
|
|||
require 'application_system_test_case'
|
||||
|
||||
class Domainest < ApplicationSystemTestCase
|
||||
setup do
|
||||
@user = users(:api_bestnames)
|
||||
@contact = contacts(:jack)
|
||||
|
||||
@domain = domains(:shop)
|
||||
|
||||
sign_in @user
|
||||
end
|
||||
|
||||
def test_update_tech_contact
|
||||
visit edit_registrar_domains_path + "?domain_name=#{@domain.name}"
|
||||
fill_in 'domain_contacts_attributes_0_code_helper', with: "#{@contact.code} #{@contact.name}"
|
||||
click_on 'Save'
|
||||
|
||||
assert_redirect_to info_registrar_domains_url(domain_name: @domain_params[:name])
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue