Skip to content

Business intelligence made simple

Moved test [skip ci]

Andrew Kane77d4c18e51ce
diff --git a/test/cohort_analysis_test.rb b/test/cohort_analysis_test.rb
index b80dc00e..91796139 100644
--- a/test/cohort_analysis_test.rb
+++ b/test/cohort_analysis_test.rb
@@ -11,15 +11,15 @@ class CohortAnalysisTest < ActionDispatch::IntegrationTest
assert_match "1 cohort", response.body
end
- def test_missing_columns
- run_query "SELECT 1 /* cohort analysis */", query_id: 1
- assert_match "alert-danger", response.body
- end
-
def test_cohort_period_default
query = create_query(statement: "SELECT 1 AS user_id, NOW() AS conversion_time /* cohort analysis */")
get blazer.query_path(query)
assert_response :success
assert_match %{selected="selected" value="week"}, response.body
end
+
+ def test_missing_columns
+ run_query "SELECT 1 /* cohort analysis */", query_id: 1
+ assert_match "alert-danger", response.body
+ end
end