blob: b4a1344216e2128560e056fe25e7cebaffce2c55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
module QA
module Page
module Admin
module Settings
class RepositoryStorage < Page::Base
view 'app/views/admin/application_settings/_repository_storage.html.haml' do
element :submit, "submit 'Save changes'"
element :hashed_storage,
'Create new projects using hashed storage paths'
end
def enable_hashed_storage
check 'Create new projects using hashed storage paths'
end
def save_settings
click_button 'Save changes'
end
end
end
end
end
end
|