Welcome to mirror list, hosted at ThFree Co, Russian Federation.

file_uploads_shared_context.rb « features « shared_contexts « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 972d25e81d244dd7bab027fbd4ea73fe4ead3f74 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

RSpec.shared_context 'file upload requests helpers' do
  def capybara_url(path)
    "http://#{Capybara.current_session.server.host}:#{Capybara.current_session.server.port}#{path}"
  end
end