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

18 lines
347 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# 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