Business intelligence made simple
Test upload types [skip ci]
Andrew Kane55388481c345
diff --git a/test/uploads_test.rb b/test/uploads_test.rbindex a3c6fbf0..fabf50e1 100644--- a/test/uploads_test.rb+++ b/test/uploads_test.rb@@ -16,5 +16,9 @@ class UploadsTest < ActionDispatch::IntegrationTestrun_query "SELECT * FROM uploads.line_items"assert_response :success++ column_types = Blazer::UploadsConnection.connection.select_all("SELECT column_name, data_type FROM information_schema.columns WHERE table_schema = 'uploads' AND table_name = 'line_items'").rows.to_h+ assert_equal "bigint", column_types["a"]+ assert_equal "text", column_types["b"]endend