Sha256: 347c8e97ea8e04623276cca05f61c05b1e134e2d193ef8a39013be1d334c339c
Contents?: true
Size: 339 Bytes
Versions: 14
Compression:
Stored size: 339 Bytes
Contents
require_relative '../../test_helper' class BranchWithConflictingFromRequirementsTest < StateMachinesTest def test_should_raise_an_exception exception = assert_raises(ArgumentError) { StateMachines::Branch.new(from: :parked, except_from: :parked) } assert_equal 'Conflicting keys: from, except_from', exception.message end end
Version data entries
14 entries across 14 versions & 2 rubygems