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

pulibrary / pdc_describe / 35525209-8c8b-426d-b992-849111d800ff

02 Jun 2026 07:47PM UTC coverage: 41.528% (-54.0%) from 95.52%
35525209-8c8b-426d-b992-849111d800ff

Pull #2324

circleci

carolyncole
Updating code to allow for multiple WorkActivity classes based on the transition
Pull Request #2324: Updating code to allow for multiple WorkActivity classes based on the…

35 of 87 new or added lines in 6 files covered. (40.23%)

2096 existing lines in 79 files now uncovered.

1647 of 3966 relevant lines covered (41.53%)

4.81 hits per line

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

22.22
/app/controllers/users/omniauth_callbacks_controller.rb
1
# frozen_string_literal: true
2

3
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
1✔
4
  def cas
1✔
UNCOV
5
    @user = User.from_cas(request.env["omniauth.auth"])
×
UNCOV
6
    if @user.nil?
×
UNCOV
7
      redirect_to root_path
×
UNCOV
8
      flash[:notice] = "You are not authorized"
×
9
    else
UNCOV
10
      sign_in_and_redirect @user, event: :authentication # this will throw if @user is not activated
×
UNCOV
11
      if is_navigational_format?
×
UNCOV
12
        set_flash_message(:notice, :success, kind: "from Princeton Central Authentication Service")
×
13
      end
14
    end
15
  end
16
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