summaryrefslogtreecommitdiff
path: root/features/steps/shared/issuable.rb
blob: e6d1b8b8efc6b238c193097445dc86fd9d4d5d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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