Fix broken spec and linting errors

This commit is contained in:
romanrizzi 2019-09-11 11:52:06 -03:00
parent 30fe9289b8
commit 588391cb2f
3 changed files with 21 additions and 18 deletions

View File

@ -362,4 +362,3 @@ describe DataExplorer::QueryController do
end
end
end

View File

@ -1,7 +1,11 @@
# frozen_string_literal: true
require 'rails_helper'
describe Guardian do
before { SiteSetting.data_explorer_enabled = true }
def make_query(group_ids = [])
q = DataExplorer::Query.new
q.id = Fabrication::Sequencer.sequence("query-id", 1)