Remove unnecessary section looking in admin settings qa
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
0f538c16ac
commit
618959eeb0
1 changed files with 2 additions and 12 deletions
|
@ -10,21 +10,11 @@ module QA
|
|||
end
|
||||
|
||||
def enable_hashed_storage
|
||||
within_repository_storage do
|
||||
check 'Create new projects using hashed storage paths'
|
||||
end
|
||||
check 'Create new projects using hashed storage paths'
|
||||
end
|
||||
|
||||
def save_settings
|
||||
within_repository_storage do
|
||||
click_button 'Save changes'
|
||||
end
|
||||
end
|
||||
|
||||
def within_repository_storage
|
||||
page.within('.as-repository-storage') do
|
||||
yield
|
||||
end
|
||||
click_button 'Save changes'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue