18F/micropurchase

View on GitHub
app/models/concerns/auction_scopes.rb

Summary

Maintainability
A
0 mins
Test Coverage

Block has too many lines. [35/25]
Open

  included do
    scope :accepted, -> { where(delivery_status: delivery_statuses['accepted']) }
    scope :accepted_pending_payment_url, lambda {
      where(delivery_status: delivery_statuses['accepted_pending_payment_url'])
    }

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

There are no issues that match your filters.

Category
Status