gitlab-org--gitlab-foss/features/steps/shared/issuable.rb

16 lines
276 B
Ruby
Raw Normal View History

module SharedIssuable
include Spinach::DSL
def edit_issuable
2015-01-14 19:23:20 -05:00
find(:css, '.issuable-edit').trigger('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