Sha256: 55bc1af79aede9b092c9e9547dc2640be1e6e5b63dc22950d345f38a01be6e26
Contents?: true
Size: 524 Bytes
Versions: 9
Compression:
Stored size: 524 Bytes
Contents
require_relative '../../test_helper' class IntegrationFinderTest < StateMachinesTest def setup StateMachines::Integrations.reset end def test_should_raise_an_exception_if_invalid exception = assert_raises(StateMachines::IntegrationNotFound) { StateMachines::Integrations.find_by_name(:invalid) } assert_equal ':invalid is an invalid integration. No integrations registered', exception.message end def test_should_have_no_integrations assert_equal([], StateMachines::Integrations.list) end end
Version data entries
9 entries across 9 versions & 2 rubygems