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

18 lines
340 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
require 'spec_helper'
2021-04-17 20:07:23 +05:30
RSpec.describe Admin::UsageTrendsController do
2020-11-24 15:15:51 +05:30
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