• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

foodcoops / foodsoft / 18256748003

05 Oct 2025 09:13AM UTC coverage: 42.833% (-24.2%) from 67.053%
18256748003

push

github

web-flow
Fixes #1221 (#1222)

1. Renamed the new `price-unit-wrapper` class to just `unit-wrapper` as it affects non-price units as well.
2. Added the class to the erroneous fields.

3081 of 7193 relevant lines covered (42.83%)

11.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.0
/app/controllers/api/v1/orders_controller.rb
1
class Api::V1::OrdersController < Api::V1::BaseController
1✔
2
  include Concerns::CollectionScope
1✔
3

4
  before_action -> { doorkeeper_authorize! 'orders:read', 'orders:write' }
1✔
5

6
  def index
1✔
7
    render_collection search_scope
×
8
  end
9

10
  def show
1✔
11
    render json: scope.find(params.require(:id))
×
12
  end
13

14
  private
1✔
15

16
  def scope
1✔
17
    Order.includes(:supplier)
×
18
  end
19
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc