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