debian-mirror-gitlab/features/steps/shared/issuable.rb
2015-09-11 14:41:01 +05:30

15 lines
265 B
Ruby

module SharedIssuable
include Spinach::DSL
def edit_issuable
find(:css, '.issuable-edit').click
end
step 'I click link "Edit" for the merge request' do
edit_issuable
end
step 'I click link "Edit" for the issue' do
edit_issuable
end
end