debian-mirror-gitlab/spec/lib/gitlab/usage_data_counters/source_code_counter_spec.rb

10 lines
267 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
require 'spec_helper'
2020-07-28 23:09:34 +05:30
RSpec.describe Gitlab::UsageDataCounters::SourceCodeCounter do
2019-10-12 21:52:04 +05:30
it_behaves_like 'a redis usage counter', 'Source Code', :pushes
it_behaves_like 'a redis usage counter with totals', :source_code, pushes: 5
end