2020-08-21 18:10:24 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe Admin::CohortsController do
|
2021-01-27 15:09:15 +00:00
|
|
|
let(:user) { create(:admin) }
|
2020-08-21 18:10:24 +00:00
|
|
|
|
2021-01-27 15:09:15 +00:00
|
|
|
before do
|
|
|
|
sign_in(user)
|
2020-08-21 18:10:24 +00:00
|
|
|
end
|
|
|
|
|
2021-06-16 15:10:08 +00:00
|
|
|
describe 'GET #index' do
|
|
|
|
it_behaves_like 'tracking unique visits', :index do
|
|
|
|
let(:target_id) { 'i_analytics_cohorts' }
|
|
|
|
end
|
2020-08-21 18:10:24 +00:00
|
|
|
end
|
|
|
|
end
|