From 77d58e3099339b15b3e38437dd37d0ce6154420a Mon Sep 17 00:00:00 2001 From: Marc Siegel Date: Wed, 12 Jun 2019 14:36:17 -0400 Subject: [PATCH] Fix test failure on rubinius-3 Looks like the expected exception message on NoMethodError was too specific and didn't match the variation that Rubinius 3 provides. See: https://travis-ci.org/ms-ati/docile/jobs/544872700#L569 --- spec/docile_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/docile_spec.rb b/spec/docile_spec.rb index f8c0e90..70454e6 100644 --- a/spec/docile_spec.rb +++ b/spec/docile_spec.rb @@ -196,7 +196,7 @@ describe Docile do it "raises NoMethodError" do expect { subject.call(5) }. - to raise_error(NoMethodError, /undefined method `at' /) + to raise_error(NoMethodError, /method `at' /) end it "removes fallback instrumentation from the DSL object after block" do