small refactor - removing includes no longer needed

This commit is contained in:
James Lopez 2016-11-16 16:09:24 +01:00
parent cbd7d00039
commit 9e0102e494
3 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,4 @@
class AnalyticsCommitEntity < CommitEntity
include RequestAwareEntity
include EntityDateHelper
expose :short_id, as: :short_sha

View File

@ -1,8 +1,6 @@
module Gitlab
module CycleAnalytics
class EventsFetcher
include MetricsFetcher
def initialize(project:, options:)
@query = EventsQuery.new(project: project, options: options)
end

View File

@ -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