gitlab-org--gitlab-foss/features/steps/shared/issuable.rb
Dmitriy Zaporozhets f167f37e5a
Fix rubocop issues at feature/ directory
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-22 14:21:34 +02:00

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