Sha256: 6b7cc000c29d71b1c414a511f678abaed0bd1b37c03b76eb449c7fc14c8ce739
Contents?: true
Size: 454 Bytes
Versions: 14
Compression:
Stored size: 454 Bytes
Contents
require_relative '../../test_helper' require_relative 'transition_collection_with_action_hook_base_test.rb' class TransitionCollectionWithActionHookInvalidTest < TransitionCollectionWithActionHookBaseTest def setup super @result = StateMachines::TransitionCollection.new([@transition, nil]).perform end def test_should_not_succeed assert_equal false, @result end def test_should_not_run_action refute @object.saved end end
Version data entries
14 entries across 14 versions & 2 rubygems