debian-mirror-gitlab/spec/controllers/admin/cohorts_controller_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
316 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Admin::CohortsController do
2021-03-11 19:13:27 +05:30
let(:user) { create(:admin) }
2020-11-24 15:15:51 +05:30
2021-03-11 19:13:27 +05:30
before do
sign_in(user)
2020-11-24 15:15:51 +05:30
end
2021-09-04 01:27:46 +05:30
describe 'GET #index' do
it_behaves_like 'tracking unique visits', :index do
let(:target_id) { 'i_analytics_cohorts' }
end
2020-11-24 15:15:51 +05:30
end
end