debian-mirror-gitlab/spec/controllers/admin/instance_statistics_controller_spec.rb
2020-11-24 15:15:51 +05:30

17 lines
347 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Admin::InstanceStatisticsController do
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