lib/rspec/models/unidom/action/state_transition_spec.rb in unidom-action-1.17.7 vs lib/rspec/models/unidom/action/state_transition_spec.rb in unidom-action-1.17.8
- old
+ new
@@ -19,13 +19,10 @@
from_state: 'C',
thru_state: 'A'
}
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
-
- it_behaves_like 'belongs_to', model_attributes, :reason, Unidom::Action::Reason, { name: 'Some Reason' }
-
- it_behaves_like 'monomorphic scope', model_attributes, :caused_by, :reason
+ it_behaves_like 'Unidom::Action::Concerns::AsCaused', model_attributes
end
end