mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
refactored: extra line breaks, extra indentation, extra comments
This commit is contained in:
parent
ed3ee5ffc0
commit
02b5c8c4b6
17 changed files with 310 additions and 346 deletions
|
@ -30,7 +30,6 @@ class AdminAreaAdminUsersIntegrationTest < JavaScriptApplicationSystemTestCase
|
|||
|
||||
select 'Estonia', from: 'admin_user_country_code', match: :first
|
||||
|
||||
# '//div[@class="selectize-input items has-options full has-items"]'
|
||||
select_element = find(:xpath, "/html/body/div[2]/form/div[2]/div/div[7]/div[2]/div/div[1]")
|
||||
select_element.click
|
||||
|
||||
|
@ -39,7 +38,6 @@ class AdminAreaAdminUsersIntegrationTest < JavaScriptApplicationSystemTestCase
|
|||
|
||||
click_on 'Save'
|
||||
|
||||
# if user created with valid data then record successfuly, else it failed
|
||||
if valid
|
||||
assert_text 'Record created'
|
||||
else
|
||||
|
@ -103,4 +101,4 @@ class AdminAreaAdminUsersIntegrationTest < JavaScriptApplicationSystemTestCase
|
|||
|
||||
assert_text 'Record deleted'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue