Business intelligence made simple
Updated tests for TruffleRuby
Andrew Kane40042270e8bf
diff --git a/Gemfile b/Gemfileindex da7277a6..9d4da8d8 100644--- a/Gemfile+++ b/Gemfile@@ -35,6 +35,6 @@ gem "propshaft"# gem "activerecord-sqlserver-adapter"# anomaly detection and forecasting-gem "anomaly_detection"+gem "anomaly_detection", platform: :mrigem "prophet-rb" if ENV["TEST_PROPHET"]gem "trend" if ENV["TEST_TREND"]diff --git a/test/anomaly_checks_test.rb b/test/anomaly_checks_test.rbindex cbd0e084..2066aee1 100644--- a/test/anomaly_checks_test.rb+++ b/test/anomaly_checks_test.rb@@ -23,7 +23,7 @@ class AnomalyChecksTest < ActionDispatch::IntegrationTestenddef assert_anomaly(anomaly_checks)- skip unless postgresql?+ skip if !postgresql? || RUBY_ENGINE == "truffleruby"Blazer.stub(:anomaly_checks, anomaly_checks) doquery = create_query(statement: "SELECT current_date + n AS day, 0.1 FROM generate_series(1, 30) n")