public-market/spree_batch_api

View on GitHub
spec/workers/spree/upload_inventory_worker_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method context(when upload csv)::describe#perform worker (48.2)
Open

    describe 'perform worker' do
      before { perform }

      it { expect(Spree::Product.count).to eq(5) }
      it { expect(Spree::Variant.count).to eq(10) }

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

There are no issues that match your filters.

Category
Status