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
This commit is contained in:
Marc Siegel 2019-06-12 14:36:17 -04:00
parent 9362d1aaa0
commit 77d58e3099
1 changed files with 1 additions and 1 deletions

View File

@ -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