Business intelligence made simple
Improved create_query test method [skip ci]
Andrew Kaneac47d68bbc54
diff --git a/test/test_helper.rb b/test/test_helper.rbindex 41362599..4adcde0b 100644--- a/test/test_helper.rb+++ b/test/test_helper.rb@@ -26,8 +26,8 @@ class ActionDispatch::IntegrationTestassert_response :successend- def create_query(statement: "SELECT 1", **attributes)- Blazer::Query.create!(statement: statement, data_source: "main", status: "active", **attributes)+ def create_query(name: "Test", statement: "SELECT 1", **attributes)+ Blazer::Query.create!(name: name, statement: statement, data_source: "main", status: "active", **attributes)enddef create_check(**attributes)