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

application_controller_spec.rb « requests « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 52fdf6bc69e09b36788576c0284dc1ed5c52d271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe ApplicationController, type: :request, feature_category: :shared do
  let_it_be(:user) { create(:user) }

  before do
    sign_in(user)
  end

  it_behaves_like 'Base action controller' do
    subject(:request) { get root_path }
  end
end