From 139010686decfd3922d8f46a3b30993f14a5e1d8 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 24 Jan 2024 00:38:38 +0100 Subject: [PATCH] Fixed unit tests for non-Qt case --- testdata/ruby/layMainWindow.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testdata/ruby/layMainWindow.rb b/testdata/ruby/layMainWindow.rb index ba4d0f35a..81ba66439 100644 --- a/testdata/ruby/layMainWindow.rb +++ b/testdata/ruby/layMainWindow.rb @@ -49,6 +49,10 @@ class LAYMainWindow_TestClass < TestBase # smoke test + if !RBA.constants.member?(:Application) + return + end + app = RBA::Application.instance mw = app.main_window s = mw.synchronous