Fix failing test.

Fix failing test.

diff --git a/spec/guardian_spec.rb b/spec/guardian_spec.rb
index a7061ce..a5f24c8 100644
--- a/spec/guardian_spec.rb
+++ b/spec/guardian_spec.rb
@@ -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
 

GitHub sha: 353da45b