2014-10-17 00:10:50 -04:00
|
|
|
module SharedIssuable
|
|
|
|
include Spinach::DSL
|
|
|
|
|
|
|
|
def edit_issuable
|
2015-06-22 08:21:34 -04:00
|
|
|
find(:css, '.issuable-edit').click
|
2014-10-17 00:10:50 -04:00
|
|
|
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
|