From 53c29c78158a32600c37b846745417e7e6df20d4 Mon Sep 17 00:00:00 2001 From: Joe Haines Date: Fri, 18 Dec 2020 14:24:09 +0000 Subject: [PATCH] Loosen restriction on Delayed Job version --- features/delayed_job.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/delayed_job.feature b/features/delayed_job.feature index 4cc2933e8..c94c31c3c 100644 --- a/features/delayed_job.feature +++ b/features/delayed_job.feature @@ -18,7 +18,7 @@ Scenario: An unhandled RuntimeError sends a report with arguments And the event "metaData.job.payload.display_name" equals "TestModel.fail_with_args" And the event "metaData.job.payload.method_name" equals "fail_with_args" And the payload field "events.0.metaData.job.payload.args.0" equals "Test" - And the event "device.runtimeVersions.delayed_job" equals "4.1.8" + And the event "device.runtimeVersions.delayed_job" matches "\d+\.\d+\.\d+" Scenario: A handled exception sends a report Given I run the service "delayed_job" with the command "bundle exec rake delayed_job_tests:notify_with_args" @@ -37,7 +37,7 @@ Scenario: A handled exception sends a report And the event "metaData.job.payload.display_name" equals "TestModel.notify_with_args" And the event "metaData.job.payload.method_name" equals "notify_with_args" And the payload field "events.0.metaData.job.payload.args.0" equals "Test" - And the event "device.runtimeVersions.delayed_job" equals "4.1.8" + And the event "device.runtimeVersions.delayed_job" matches "\d+\.\d+\.\d+" Scenario: The report context uses the class name if no display name is available Given I run the service "delayed_job" with the command "bundle exec rake delayed_job_tests:report_context" @@ -55,4 +55,4 @@ Scenario: The report context uses the class name if no display name is available And the event "metaData.job.max_attempts" equals 1 And the event "metaData.job.payload.display_name" is null And the event "metaData.job.payload.method_name" is null - And the event "device.runtimeVersions.delayed_job" equals "4.1.8" + And the event "device.runtimeVersions.delayed_job" matches "\d+\.\d+\.\d+"