BigW Consortium Gitlab

issuable.rb 265 Bytes
Newer Older
1 2 3 4
module SharedIssuable
  include Spinach::DSL

  def edit_issuable
5
    find(:css, '.issuable-edit').click
6 7 8 9 10 11 12 13 14 15
  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