Sha256: 5d088fe3f1f6ea527381e62d0c363f6adc0385198ad47afc8a70e8209f1bdb68
Contents?: true
Size: 440 Bytes
Versions: 11
Compression:
Stored size: 440 Bytes
Contents
class RestArgsTest < Minitest::Test def test_passing_in_splat error = assert_raises Invokr::UnsupportedArgumentsError do Invokr.invoke( method: :splat_argument, on: TestMethodBank, with: { guitarist: 'trey' }, ) end assert_equal( "unsupported splat argument(s) `rest' when invoking method `splat_argument' on #<TestMethodBank:0xdeadbeef>", error.message, ) end end
Version data entries
11 entries across 11 versions & 1 rubygems