Commit 9e0102e4 authored by James Lopez's avatar James Lopez

small refactor - removing includes no longer needed

parent cbd7d000
class AnalyticsCommitEntity < CommitEntity
include RequestAwareEntity
include EntityDateHelper
expose :short_id, as: :short_sha
......
module Gitlab
module CycleAnalytics
class EventsFetcher
include MetricsFetcher
def initialize(project:, options:)
@query = EventsQuery.new(project: project, options: options)
end
......
......@@ -42,4 +42,4 @@ describe EntityDateHelper do
it 'converts 986760 seconds' do
expect(date_helper_class.distance_of_time_as_hash(986760)).to eq(days: 11, hours: 10, mins: 6)
end
end
\ No newline at end of file
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment