small refactor - removing includes no longer needed
This commit is contained in:
parent
cbd7d00039
commit
9e0102e494
3 changed files with 1 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
class AnalyticsCommitEntity < CommitEntity
|
||||
include RequestAwareEntity
|
||||
include EntityDateHelper
|
||||
|
||||
expose :short_id, as: :short_sha
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
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
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue