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

foodcoops / foodsoft / 21779744652

07 Feb 2026 12:00PM UTC coverage: 42.773% (-24.1%) from 66.898%
21779744652

Pull #1273

github

lentschi
Closes #1271
Pull Request #1273: Closes #1271 - Adapt units/amounts in footer to new unit system

3063 of 7161 relevant lines covered (42.77%)

11.94 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