gitlab-org--gitlab-foss/features/steps/shared/issuable.rb
Dmitriy Zaporozhets 5b49bb208a
Fix issueable context update and fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-22 16:42:26 +02:00

15 lines
264 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