lib/rspec/models/unidom/action/state_transition_spec.rb in unidom-action-1.17.1 vs lib/rspec/models/unidom/action/state_transition_spec.rb in unidom-action-1.17.2
- old
+ new
@@ -20,8 +20,10 @@
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' }
+
end
end