public-market/spree_batch_api

View on GitHub
spec/requests/inventory_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method context(when user is authorized)::context#when has content (49.9)
Open

    context 'when has content' do
      let(:content) { File.read(File.join(Dir.pwd, 'spec/fixtures', 'inventory.csv')) }

      it { is_expected.to have_http_status(:ok) }
      it { expect(json).to include(status: 'completed') }
Severity: Minor
Found in spec/requests/inventory_spec.rb by flog

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