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

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

require 'spec_helper'

RSpec.describe Admin::CohortsController do
  let(:user) { create(:admin) }

  before do
    sign_in(user)
  end

  describe 'GET #index' do
    it_behaves_like 'tracking unique visits', :index do
      let(:target_id) { 'i_analytics_cohorts' }
    end
  end
end