2020-09-16 08:10:15 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2021-02-18 10:09:43 -05:00
|
|
|
RSpec.describe Admin::UsageTrendsController do
|
2020-09-16 08:10:15 -04:00
|
|
|
let(:admin) { create(:user, :admin) }
|
|
|
|
|
|
|
|
before do
|
|
|
|
sign_in(admin)
|
|
|
|
end
|
|
|
|
|
|
|
|
describe 'GET #show' do
|
|
|
|
it_behaves_like 'tracking unique visits', :index do
|
|
|
|
let(:target_id) { 'i_analytics_instance_statistics' }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|