Sha256: 740f62b2efd870f2a4213bd0aaa117c0a489a18a7ef6e94bdce874cae227d340
Contents?: true
Size: 329 Bytes
Versions: 14
Compression:
Stored size: 329 Bytes
Contents
require_relative '../../test_helper' class BranchWithConflictingToRequirementsTest < StateMachinesTest def test_should_raise_an_exception exception = assert_raises(ArgumentError) { StateMachines::Branch.new(to: :idling, except_to: :idling) } assert_equal 'Conflicting keys: to, except_to', exception.message end end
Version data entries
14 entries across 14 versions & 2 rubygems