Fix failing test.
This commit is contained in:
parent
79e8596332
commit
353da45b6f
|
@ -8,12 +8,11 @@ describe Guardian do
|
|||
|
||||
def make_query(group_ids = [])
|
||||
query = DataExplorer::Query.create!(name: "Query number #{Fabrication::Sequencer.sequence("query-id", 1)}", sql: "SELECT 1")
|
||||
|
||||
group_ids.each do |group_id|
|
||||
query.query_groups.create!(group_id: group_id)
|
||||
end
|
||||
group_ids.each do |group_id|
|
||||
query.query_groups.create!(group_id: group_id)
|
||||
end
|
||||
|
||||
query
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue