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