Sha256: a66a6d691977ee9af8ea5b4d73b95f8b922afe012612d6c5e1042904be258c64
Contents?: true
Size: 375 Bytes
Versions: 14
Compression:
Stored size: 375 Bytes
Contents
require_relative '../../test_helper' class BranchWithExceptFromMatcherRequirementTest < StateMachinesTest def test_should_raise_an_exception exception = assert_raises(ArgumentError) { StateMachines::Branch.new(except_from: StateMachines::AllMatcher.instance) } assert_equal ':except_from option cannot use matchers; use :from instead', exception.message end end
Version data entries
14 entries across 14 versions & 2 rubygems