Remove unnecessary section looking in admin settings qa

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2018-04-03 18:09:53 +03:00
parent 0f538c16ac
commit 618959eeb0
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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