Commit 85c448d7 authored by James Lopez's avatar James Lopez

fix specs

parent f9fd0ff1
......@@ -11,12 +11,10 @@ module Gitlab
custom_query = "#{stage}_custom_query".to_sym
@query.execute(stage) do |base_query|
send(custom_query, base_query) if self.respond_to?(custom_query)
public_send(custom_query, base_query) if self.respond_to?(custom_query)
end
end
private
def issue_custom_query(base_query)
base_query.join(user_table).on(issue_table[:author_id].eq(user_table[:id]))
end
......
......@@ -12,11 +12,9 @@ module Gitlab
end
def get
send(@stage).freeze if self.respond_to?(@stage)
public_send(@stage).freeze if self.respond_to?(@stage)
end
private
def issue
{ start_time_attrs: issue_table[:created_at],
end_time_attrs: [issue_metrics_table[:first_associated_with_milestone_at],
......
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