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
|