spec/actions/spree/inventory/json_import_action_spec.rb
Complex method context#when json have wrong items (40.2) Open
Open
context 'when json have wrong items' do
let(:payload) { '{ "items": [{"id": "some"}] }' }
before do
call
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool