mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-12 06:06:05 +10:00
30 lines
678 B
Ruby
30 lines
678 B
Ruby
class Spinach::Features::GroupActiveTab < Spinach::FeatureSteps
|
|
include SharedAuthentication
|
|
include SharedUser
|
|
include SharedGroup
|
|
include SharedPaths
|
|
include SharedActiveTab
|
|
|
|
step 'the active sub nav should be Audit Events' do
|
|
ensure_active_sub_nav('Audit Events')
|
|
end
|
|
|
|
step 'the active main tab should be Settings' do
|
|
page.within '.nav-sidebar' do
|
|
expect(page).to have_content('Go to group')
|
|
end
|
|
end
|
|
|
|
step 'the active sub nav should be Web Hooks' do
|
|
ensure_active_sub_nav('Web Hooks')
|
|
end
|
|
|
|
step 'I go to "Audit Events"' do
|
|
click_link 'Audit Events'
|
|
end
|
|
|
|
step 'I go to "Web Hooks"' do
|
|
click_link 'Web Hooks'
|
|
end
|
|
end
|