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

digitaltom / mapforge / 12553493518

31 Dec 2024 12:16AM UTC coverage: 99.497% (+0.009%) from 99.488%
12553493518

Pull #232

github

web-flow
Merge ed2955a5e into 178752b17
Pull Request #232: Add a bootstrap top navigation

15 of 15 new or added lines in 5 files covered. (100.0%)

1 existing line in 1 file now uncovered.

396 of 398 relevant lines covered (99.5%)

101.85 hits per line

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

87.5
/app/controllers/admin_controller.rb
1
class AdminController < ApplicationController
4✔
2
  # TODO: Find a better way to stub/authorize in selenium tests
3
  # :nocov:
4
  unless Rails.env.test?
✔
UNCOV
5
    http_basic_authenticate_with name: ENV.fetch("ADMIN_USER", ""), password: ENV.fetch("ADMIN_PW", "")
×
6
  end
7
  # :nocov:
8

9
  def index
4✔
10
    @maps = Map.includes(:layers).order(updated_at: :desc)
4✔
11
  end
12

13
  def destroy
4✔
14
    Map.find_by(id: params[:id]).destroy!
1✔
15

16
    redirect_to admin_path, notice: "Map was deleted."
1✔
17
  end
18
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