debian-mirror-gitlab/features/steps/shared/issuable.rb

16 lines
265 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
module SharedIssuable
include Spinach::DSL
def edit_issuable
2015-09-11 14:41:01 +05:30
find(:css, '.issuable-edit').click
2015-04-26 12:48:37 +05:30
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