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

pulibrary / orcid_princeton / 16ea82d0-6fa6-4a56-942d-899e2fa784c3

31 May 2024 04:24PM UTC coverage: 94.706% (-0.5%) from 95.238%
16ea82d0-6fa6-4a56-942d-899e2fa784c3

Pull #151

circleci

jrgriffiniii
[wip] Troubleshooting and diagnosis errors encountered when integrating
Devise and OmniAuth routes for `session_path` and CAS authentication.

Co-authored-by: Robert-Anthony Lee-Faison <leefaisonr@users.noreply.github.com>
Pull Request #151: Add omniauth gem

1 of 2 new or added lines in 1 file covered. (50.0%)

161 of 170 relevant lines covered (94.71%)

5.82 hits per line

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

77.78
/app/controllers/application_controller.rb
1
# frozen_string_literal: true
2
class ApplicationController < ActionController::Base
1✔
3
  protect_from_forgery with: :exception
1✔
4
  before_action :authenticate_user!
1✔
5
  # include Devise::Controllers::UrlHelpers
6
  # include Rails.application.routes.url_helpers
7
  # include Rails.application.routes.mounted_helpers
8

9
  def new_session_path(_scope)
1✔
10
    new_user_session_path
×
11
  end
12

13
  def session_path(_scope)
1✔
NEW
14
    new_user_session_path
×
15
  end
16

17
  def after_sign_in_path_for(_resource)
1✔
18
    "/users/#{@user.id}"
1✔
19
  end
20
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

© 2025 Coveralls, Inc